Search Issue Tracker
Fixed
Fixed in 6000.0.0b15
Votes
0
Found in
2023.2.7f1
6000.0.0b1
7000.0.0a1
Issue ID
UUM-61923
Regression
No
[UI Builder] Exception thrown when overriding data-source attribute
1) Add the attached script Bug.cs to a new project
2) Open the UI Builder and add the MonoBehaviourBinding element to the canvas.
3) Select the element. Note the errors in the console.
{noformat}
NullReferenceException: Object reference not set to an instance of an object
Unity.UI.Builder.BuilderDataSourceAndPathView.UpdateAttribute (UnityEngine.UIElements.VisualElement target, System.String bindingAttribute) (at C:/Unity/Source/unity-worktree1/Modules/UIBuilder/Editor/Builder/Inspector/Binding/BuilderDataSourceAndPathView.cs:185)
Unity.UI.Builder.BuilderDataSourceAndPathView+<>c__DisplayClass47_0.<OnPropertyFieldBound>b__0 () (at C:/Unity/Source/unity-worktree1/Modules/UIBuilder/Editor/Builder/Inspector/Binding/BuilderDataSourceAndPathView.cs:153)
UnityEngine.UIElements.VisualElement+SimpleScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at C:/Unity/Source/unity-worktree1/Modules/UIElements/Core/VisualElementScheduler.cs:321)
UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at C:/Unity/Source/unity-worktree1/Modules/UIElements/Core/Scheduler.cs:363)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at C:/Unity/Source/unity-worktree1/Modules/UIElements/Core/UIElementsUtility.cs:278)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at C:/Unity/Source/unity-worktree1/Modules/UIElements/Core/UIElementsUtility.cs:108)
UnityEditor.RetainedMode.UpdateSchedulers () (at C:/Unity/Source/unity-worktree1/Modules/UIElementsEditor/RetainedMode.cs:57)
{noformat}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor freezes after some time when using NavMeshQuery::Raycast
- Cube is rendered green when its color is set to black and using the Lift Gamma Gain Volume interpolation
- Inner and outer exceptions are not unrolled correctly
- [iOS][WebGL] Audio Clip doesn't play when Load Type is set to Decompress On Load and iOS Silent Mode is enabled
- Crash on EditorBuildSettings::GetConfigObject when closing a specific project
Add comment