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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
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)