Search Issue Tracker
In Progress
In Progress in 6000.6.X
Votes
0
Found in
6000.6.0a1
Issue ID
UUM-136958
Regression
Yes
NullReferenceException when importing Graph that has subgraph node of same type
Steps to reproduce:
- Create a custom Graph type that supports subgraphs
{quote}[Graph(extension:"abc", GraphOptions.SupportsSubgraphs)]
public class GraphTest : Graph
{
[MenuItem("Assets/Create/Graph/GraphTest")]
public static void CreateGraph()
Unknown macro: \{ GraphDatabase.PromptInProjectBrowserToCreateNewAsset<GraphTest>(); }
}
{quote}
- Create two assets of your Graph type using the project window
- Double click one of the graphs to open a graph window
- Drag and drop the second graph asset into the graph window to create a subgraph node
- Save the graph and close the window
- Re-import a script in your project to trigger a domain reload
- Observe the console
Reproducible with versions: 6000.6.0a1
Not reproducible with 6000.5.0a8, 6000.4.0b11
Tested on (OS): MacOS
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unused separation line is used in the Prefab Context Menu when right clicking child Prefabs
- Editor freezes indefinitely when copy pasting a lot of characters in the UI Builder’s “Add new selector” field
- Detached Audio Source is not released from browser memory when Audio stops playing in WebGL Player
- "Canvas.pixelRect" and "Canvas.renderingDisplaySize" report 640x480 when Device Simulator window is unfocused after reopening the project in the Editor
- Incorrect indices when using Graphics.RenderPrimitivesIndexedArgs[] with Graphics.RenderPrimitivesIndexedIndirect
Add comment