Search Issue Tracker
Fixed in 7.4.0
Votes
1
Found in [Package]
7.2.0
Issue ID
1230996
Regression
Yes
[HDRP] Assertion failed on expression error is thrown in the Console when saving a Lit Graph shader
Reproduction steps:
1. Open the project from the attached file "1230996.zip"(link in edit)
2. Right-click on Assets and go to > Create > Shader > HDRP > Shader Lit
3. Open the newly created Shader Graph
4. Click Save Asset in the upper left corner of Shader Lit editor window
5. Inspect the Console
Expected result: No error is thrown in the Console
Actual result: - "Assertion failed on expression: 'state.originalObjectCount == (int)Object::GetLoadedObjectCount()'" and "UnloadUnusedAssets incorrect caused some assets to load. This can easily cause deadlocks or crashes." are thrown in the Console
Reproducible with: HDRP 8.0.1(2020.2.0a5, 2020.1.0b4), HDRP 7.3.1(2020.2.0a5, 2020.1.0b4, 2019.3.9f1), 7.2.1(2020.3.9f1), 7.2.0(2019.3.9f1)
Not reproducible with: HDRP 7.1.8(2020.2.0a5, 2019.3.9f1), HDRP 4.10.1-preview(2018.4.20f1)
Could not test with: 2017.4(no Package Manager)
Notes:
- Only reproducible once. To reproduce again you have to re-open the project and create a new Shader Graph.
- Not reproducible with other Shader Graphs
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note (fix version 7.4.0):
Fixed in 7.4.0