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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 11.0.0):
Fixed in 2021.1.0b4 with Visual Effect Graph 11.0.0 and above