Not signed in
Copyright © 2026 Unity Technologies
2023.2 is no longer a supported version of Unity. Please see corresponding 6000.0 port instead (if applicable)
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.
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)
Sign in to see your voted issues