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
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
- DOTS Materials Not Rendering in Player When Using Entity Graphics with Custom SRP
- Sprite Pivot position in Sprite Editor and Scene View do not match when the position is custom
- [HDRP] Unchecking the "Base layer" in Graphics Compositor results in Camera view rendering over the window
Resolution Note (fix version 7.4.0):
Fixed in 7.4.0