KhronosGroup / KhronosGroup/UnityGLTF

Loading Unity GLTF models at runtime with HDRP

Open
#402 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.2k
Forks
536
PR merge metrics
No merged PRs in 30d

Description

Hi, I am fairly new to Unity's HDRP and ran into some problems converting my project.

I was trying to convert a project from the standard HDR to HDRP and it turned all the materials pink, as it should. The real issue is that even after I upgrade the materials in the project to HDRP materials, the materials still appear unchanged and pink. The reason for this I believe is that all the GLTF models in the scene are being loaded in at runtime, therefore I'm not able to upgrade the materials attached to each model before runtime. Is there any known solution for this issue or steps I can take to make sure I am converting the project properly?

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by reproducing the runtime-loaded GLTF material issue in a Unity HDRP project and inspect how materials are handled during loading; done means the loaded models render with HDRP materials instead of pink materials.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.