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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment