Search Issue Tracker
Fixed
Fixed in 6000.4.0a4
Votes
0
Found in
6000.4.0a3
Issue ID
UUM-122248
Regression
Yes
UI Builder constantly throws NullReferenceException when dragging objects objects into the window
Steps to reproduce:
- Open the attached project
- Select the Main Camera object in the Scene's Hierarchy
- Drag it over the UI Builder window's Hierarchy or StyleSheets panels
- Observe the Console window
Actual results: NullReferenceExceptions are thrown when holding the object over the panels
Expected results: No warnings or errors are thrown when dragging objects inside the UI Builder window
Reproducible with versions: 6000.4.0a2, 6000.4.0a3
Not reproducible with versions: 6000.0.59f1, 6000.2.8f1, 6000.3.0b6, 6000.4.0a1
Tested on (OS): macOS 26.0.1
Notes:
- The issue occurs when dragging objects from the Scene's Hierarchy to the UI Builder window
- The issue does not occur when dragging an object from a Project window
Shortened error message:
- NullReferenceException: Object reference not set to an instance of an object
Unity.UI.Builder.BuilderExplorerDragger.ExplorerGetDragPreviewFromTarget (UnityEngine.UIElements.VisualElement target, UnityEngine.Vector2 mousePosition){}{}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [RenderGraph] Outputs from camera stack override each other when using OpenGLES3 with a custom renderer feature
- An "RefreshInternalV2 is called before InitialRefresh" error is thrown when opening a project where a build profile with Player settings added is selected
- MeshCollider preview gizmo disappears from the Scene view when overriding the mesh asset using any 3D editing tool
- Tutorial project is not created when started from the Get set up tab
- Audio Listener Component expands when selected
Add comment