Search Issue Tracker
Fixed
Fixed in 12.1.11, 14.0.7, 15.0.4
Votes
0
Found in [Package]
10.10.0
12.1.7
13.1.8
14.0.3
15.0.0
Issue ID
SGB-167
Regression
No
Changes made to the Shader Graph are not saved when "NullReferenceException" is thrown
How to reproduce:
1. Open the attached project "SGRefactor.zip"
2. Open Assets/ShaderGraph/UnlitGraph.shadergraph
3. Change "Built-in" and "Universal" materials to "Unlit" in the Graph Inspector>Graph Settings
4. Delete all greyed-out slots in the "Fragment" Node
5. Connect the output of "Sample Texture>Multiply" Node to "Base Color" of the "Fragment" Node
6. Click Save Asset at the upper left corner of the "UnlitGraph" window
7. Close the "UnlitGraph" window
8. Repeat step 2
Expected results: Changes made to "UnlitGraph" were saved
Actual results: Changes made to "UnlitGraph" were not saved
Reproducible with: 10.10.0 (2020.3.38f1), 12.1.7 (2021.3.8f1), 13.1.8 (2022.1.13f1), 14.0.3 (2022.2.0b5), 15.0.0 (2023.1.0a8)
Reproducible on: Windows 10
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 15.0.4):
Thank you for submitting this issue. The fix has been worked on and released on Unity version 2023.1.0b11 (15.0.4)
Resolution Note (fix version 14.0.7):
Thank you for submitting this issue. The fix has been worked on and released on Unity version 2022.2.14f1 (14.0.7)
Resolution Note (fix version 12.1.11):
Thank you for submitting this issue. The fix has been worked on and released on Unity version 2021.3.23f1 (12.1.11)