Search Issue Tracker
Active
Fixed in 6000.0.60f1, 6000.2.8f1, 6000.3.X
Under Consideration for 6000.6.X
Votes
0
Found in
2022.3.64f1
6000.0.48f1
6000.1.8f1
6000.2.0b7
6000.3.0a1
6000.4.0b9
6000.5.0a7
6000.6.0a1
Issue ID
UUM-110302
Regression
No
NullReferenceException is logged when cancelling Shader Graph recovery of an already deleted Shader Graph
Steps to reproduce:
- Open any Project
- Create a Shader Graph Asset and double click it to open it
- Delete the Shader Graph Asset in the Project Browser, when prompted confirm to delete the Asset
- When the "Graph removed from project" pop up prompts to recover the Asset choose "Cancel"
- Right click the left over Shader Graph Window and choose "Close Tab"
- When prompted to recover the Asset choose "Cancel" again
Actual results: Errors "NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ShaderGraph.GraphData.GetEdges (UnityEditor.Graphing.SlotReference s, System.Collections.Generic.List`1[T] foundEdges) (at ./Library/PackageCache/com.unity.shadergraph@2132c8a97908/Editor/Data/Graphs/GraphData.cs:1311)" are logged in Console
Expected results: When choosing the option to "Close Tab" on a Shader Graph Window and the Window has been marked dirty as "(deleted)" the Shader Graph Window and Asset is discarded immediately without a prompt
Reproducible with versions: 2022.3.64f1, 6000.0.48f1, 6000.1.8f1, 6000.2.0b7, 6000.3.0a1
Tested on (OS): Windows 11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment