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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment