Search Issue Tracker
Fixed in 11.0.0
Votes
0
Found in [Package]
10.3.1
Issue ID
1315978
Regression
Yes
[VFX Graph] SubGraph block cant be created and NullExecptionError is thrown when converting block to a SubGraph block
How to reproduce:
1. Create a new HDRP project
5. Create a new VFX and open it
6. Add Heads and Trails system
7. Select Set Lifetime Random block in the Initialize context
8. Right-click mouse and convert it to a Subgraph block
Expected result: Subgraph block is created and no errors are thrown to the Console
Actual result: Subgraph block is not created and 'NullReferenceException: Object reference not set to an instance of an object' error is thrown to the Console
Reproducible with: 2020.2.5f1(10.3.1, 10x.x/release),
Not reproducible with: 2019.4.17f1(7.3.1, 7.5.3), 2021.1.0b4(11.0.0), 2021.2.0a6(12.0.0)
Notes:
- Error message: NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.UI.VFXPaste.RegisterContexts (UnityEditor.VFX.UI.VFXViewController viewController) (at Library/PackageCache/com.unity.visualeffectgraph@10.3.1/Editor/GraphView/Views/VFXPaste.cs:642)
UnityEditor.VFX.UI.VFXPaste.PasteAll (UnityEditor.VFX.UI.VFXViewController viewController, UnityEngine.Vector2 center, UnityEditor.VFX.UI.VFXCopyPasteCommon+SerializableGraph& serializableGraph, UnityEditor.VFX.UI.VFXView view, UnityEditor.VFX.UI.VFXGroupNodeController groupNode, System.Collections.Generic.List`1[T] nodesInTheSameOrder) (at Library/PackageCache/com.unity.visualeffectgraph@10.3.1/Editor/GraphView/Views/VFXPaste.cs:192)
UnityEditor.VFX.UI.VFXPaste.DoPaste (UnityEditor.VFX.UI.VFXViewController viewController, UnityEngine.Vector2 center, System.Object data, UnityEditor.VFX.UI.VFXView view, UnityEditor.VFX.UI.VFXGroupNodeController groupNode, System.Collections.Generic.List`1[T] nodesInTheSameOrder) (at Library/PackageCache/com.unity.visualeffectgraph@10.3.1/Editor/GraphView/Views/VFXPaste.cs:63)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 11.0.0):
Fixed in 2021.1.0b4 with Visual Effect Graph 11.0.0 and above