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
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Resolution Note (fix version 7.4.0):
Fixed in 7.4.0