Search Issue Tracker

Fixed in 10.1.2



Found in [Package]

8.1.0, 8.2.0, 9.0.0-preview.55, 10.0.0-preview.27

Issue ID




[VFX][URP] NullReferenceException thrown on importing VisualEffectGraph Additions

Package: Visual Effect Graph


NullReferenceException thrown on importing VisualEffectGraph Additions

Steps to Repro:

1. Create a new Project in URP Template
2. Update URP Package to 10.0.0-preview.26
3. Import Visual Effect Graph 10.0.0-preview.27
4. Import VisualEffectGraph Additions from Sample of the VFX package

Expected Result: VisualEffectGraph Additions imported successfully

Actual Result: NullReference exception thrown

Reproducible on: 8.1.0, 8.2.0, 9.0.0-preview.55, 10.0.0-preview.27 with 2020.1.7f1, 2020.2.0b4

Environment: Windows 10 and Mac 10.15

Stack trace:
Exception while sanitizing model: Flames of type UnityEditor.VFX.VFXSubgraphContext: System.NullReferenceException: Object reference not set to an instance of an object
at UnityEditor.VFX.VFXSubgraphContext.RecreateCopy () [0x000e5] in /Users/Admin/Desktop/Amruta/Project/b4 urp n/library/packagecache/com.unity.visualeffectgraph@10.0.0-preview.27/editor/models/contexts/vfxsubgraphcontext.cs:199
at UnityEditor.VFX.VFXSubgraphContext.Sanitize (System.Int32 version) [0x00007] in /Users/Admin/Desktop/Amruta/Project/b4 urp N/Library/PackageCache/com.unity.visualeffectgraph@10.0.0-preview.27/Editor/Models/Con

  1. Resolution Note (fix version 10.1.2):

    Null dependency fixed in VFX Graph

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.