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
- INVALID_ENUM warning is thrown in WebGL Player when building an empty scene
- Crash on ApiGLES::ClearBufferSubData when running the Player a second time on Meta Quest 2
- "Process VFXCamera Command" column is displayed in the "Render Graph Viewer" when there are no VFX in the Scene
- [Performance] Vulkan performing much worse than OpenGLES due to excessive buffer copies on Quest 2/3
- An error 'AssertionException: Assertion failure. Value was False' is displayed in the Console when maximizing or unmaximizing the UI Builder
Resolution Note (fix version 7.4.0):
Fixed in 7.4.0