Unity Issue Tracker - NullReferenceException is thrown and Subgraph is not created when converting a node to Subgraph
Fixed
UUM-71892
NullReferenceException is thrown and Subgraph is not created when converting a node to Subgraph
Unity: ShaderGraph
Fixed
6.0.X
Won't Fix
6.2.X
6.1.X
2022.3.X
2021.3.X
Fixed as of 6.0
Fixed as of 6.0
This issue doesn't exist in this version.
This issue doesn't exist in this version.
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Test.shadergraph” Shader Graph editor
3. Convert a "Maximum" Node to a SubGraph (Right-click > Convert To > Sub-graph)
4. Click Save in the File Dialog
5. Observe the Console window
Expected result: No error is thrown and Subgraph is created
Actual result: “NullReferenceException: Object reference not set to an instance of an object” error is thrown and Subgraph is not created