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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Resolution Note (fix version 7.4.0):
Fixed in 7.4.0