Search Issue Tracker
Fixed
Fixed in 6000.0.40f1, 6000.1.0b7, 6000.2.0a4, 7000.0.0a23
Votes
0
Found in
2022.3.56f1
6000.0.34f1
6000.1.0b2
6000.2.0a1
Issue ID
UUM-92662
Regression
No
Inconsistent NullReferenceException while connecting Edges in the Graph
Steps to reproduce:
- Open attached project
- Open TestGraph VFX asset
- Start linking TestFloat Property and/or Add nodes
- Hover over or near the Anchor before releasing the mouse button
Actual results: NullReferenceException: Object reference not set to an instance of an object is thrown
Expected results: No errors or warnings are thrown when connecting Edges
Reproducible with versions: 2022.3.56f1, 6000.0.34f1, 6000.1.0b2
Tested on (OS): Ubuntu 24, macOS 15.2
Notes:
- Couldn't reproduce in ShaderGraph. Tested using the same setup (1 Float Property and Multiple Add blocks)
Full error message:
- NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.VFXSlot.CanLink (UnityEditor.VFX.VFXSlot other) (at ./Library/PackageCache/com.unity.visualeffectgraph@593f22d24cce/Editor/Models/Slots/VFXSlot.cs:795)
UnityEditor.VFX.UI.VFXEdgeDragInfo.DisplayEdgeDragInfo (UnityEditor.VFX.UI.VFXDataAnchor draggedAnchor, UnityEditor.VFX.UI.VFXDataAnchor overAnchor) (at ./Library/PackageCache/com.unity.visualeffectgraph@593f22d24cce/Editor/GraphView/Elements/VFXEdgeDragInfo.cs:63)
UnityEditor.VFX.UI.VFXEdgeDragInfo+<>c__DisplayClass6_0.<StartEdgeDragInfo>b__0 (UnityEngine.UIElements.TimerState t) (at ./Library/PackageCache/com.unity.visualeffectgraph@593f22d24cce/Editor/GraphView/Elements/VFXEdgeDragInfo.cs:124)
UnityEngine.UIElements.VisualElement+TimerStateScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementScheduler.cs:361)
UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Scheduler.cs:376)
UnityEngine.UIElements.Panel.TickSchedulingUpdaters () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:1336)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:277)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:108)
UnityEditor.RetainedMode.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/RetainedMode.cs:47)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Graphics Settings: “Use Defaults” checkboxes misaligned in Tier Settings section
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
Add comment