Search Issue Tracker

Fixed in 6.9.X

Votes

0

Found in [Package]

7.0.0

Issue ID

1167399

Regression

No

[Subgraphs] Subgraph Block operator inputs disappear after two consecutive times entering play mode

Package: Visual Effect Graph

-

Repro steps:
1. Import the attached package
2. Open Repro scene and open the New VFX graph
3. Enter play mode
4. Exit play mode
5. Enter play mode again
6. Observe the New VFX Subgraph Block inputs are no longer showing + a console error appears.

Console error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.VFXSubgraphBlock+<get_attributes>d__16.MoveNext () (at SRP/com.unity.visualeffectgraph/Editor/Models/Blocks/VFXSubgraphBlock.cs:94)
VFXBlockEditor.OnInspectorGUI () (at SRP/com.unity.visualeffectgraph/Editor/Inspector/VFXBlockEditor.cs:39)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass53_0.<CreateIMGUIInspectorFromEditor>b__0 () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorElement.cs:494)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.