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
- Other threads get resized when trying to resize thread groups on the Timeline of the Profiler window
- Green highlight for selected panel lacks contrast when Editor theme is set to Light
- [Android] AR Camera Background has a white/bright tint when deployed with Gamma Color Space and Vulkan API
- Crash on TextCore::OTL_GPOS_TableReader::GetLookupList when changing to a specific Font in the UI Builder
- Reverting [SerializeReference] List property creates persistent element overrides in Prefab Variants
Resolution Note (fix version 11.0.0):
Fixed in 2021.1.0b4 with Visual Effect Graph 11.0.0 and above