Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
7.2.0, 7.1.8, 7.1.7
Issue ID
1219420
Regression
Yes
[Visual Effect Graph] NullReferenceException errors are thrown continuously on resetting node preset asset
NullReferenceException errors are thrown continuously on resetting node preset asset.
Steps to repro:
1. Open the attached project > Open Test Scene.
2. Open Test VFX graph.
3. Select & create a preset of "Initialize Particle" node.
4. Reset VFXBasicInitialize asset from the Inspector.
Actual Result:
NullReferenceException errors are thrown in the console.
Expected Result:
No errors in the console.
Reproducible in:
2020.1.0a24(79162fef2e73) & 2019.3.2f1 with Package Version 7.2.0,7.1.8, 7.1.7.
2019.3.0b4 & 2019.3.0a7 with Package Version 7.0.1.
Working fine in:
2019.3.0a6 with Package Version 6.9.2.
Environment:
Occurring on Windows 10 Mac 10.15.
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.VFXBasicInitialize.GetSettings (System.Boolean listHidden, UnityEditor.VFX.VFXSettingAttribute+VisibleFlags flags) (at Library/PackageCache/com.unity.visualeffectgraph@7.1.8/Editor/Models/Contexts/Implementations/VFXBasicInitialize.cs:94)
VFXSlotContainerEditor.DoInspectorGUI () (at Library/PackageCache/com.unity.visualeffectgraph@7.1.8/Editor/Inspector/VFXSlotContainerEditor.cs:39)
VFXContextEditor.DoInspectorGUI () (at Library/PackageCache/com.unity.visualeffectgraph@7.1.8/Editor/Inspector/VFXContextEditor.cs:75)
VFXSlotContainerEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.visualeffectgraph@7.1.8/Editor/Inspector/VFXSlotContainerEditor.cs:177)
VFXContextEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.visualeffectgraph@7.1.8/Editor/Inspector/VFXContextEditor.cs:269)
UnityEditor.Presets.PresetEditor.DrawInternalInspector () (at <9ba1187881a84a08b5f9c4cb333d7a6a>:0)
UnityEditor.Presets.PresetEditor.DrawPresetData () (at <9ba1187881a84a08b5f9c4cb333d7a6a>:0)
UnityEditor.Presets.PresetEditor.OnInspectorGUI () (at <9ba1187881a84a08b5f9c4cb333d7a6a>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass55_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <9ba1187881a84a08b5f9c4cb333d7a6a>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note:
Plans are to remove nodes from Unity inspector and use graphview inspector to come instead which will have no reset option