Search Issue Tracker
Fixed in 2023.2.5f1
Fixed in 2023.2.X, 2023.3.X, 2023.3.0a19
Votes
0
Found in
2023.3.0a8
Issue ID
UUM-53334
Regression
Yes
ObjectDisposedException thrown from builder when undo element creation
1) Create a new project
2) Open UI Builder with a new document
3) Create a Label
4) Press Undo (Ctrl+Z)
Error thrown
ObjectDisposedException: SerializedProperty m_VisualElementAssets.Array.data[1].m_SerializedData.dataSource has disappeared!
UnityEditor.SerializedProperty.SyncSerializedObjectVersion () (at <9fd12bd8d9c2476bbec1ace816cf3cb0>:0)
UnityEditor.SerializedProperty.Verify (UnityEditor.SerializedProperty+VerifyFlags verifyFlags) (at C:/Unity/Source/unity-git/Editor/Mono/SerializedProperty.bindings.cs:497)
UnityEditor.SerializedProperty.get_objectReferenceInstanceIDValue () (at C:/Unity/Source/unity-git/Editor/Mono/SerializedProperty.bindings.cs:1430)
UnityEditor.EditorGUIUtility.ObjectContent (UnityEngine.Object obj, System.Type type, UnityEditor.SerializedProperty property, UnityEditor.EditorGUI+ObjectFieldValidator validator) (at C:/Unity/Source/unity-git/Editor/Mono/EditorGUIUtility.cs:991)
UnityEditor.UIElements.ObjectField+ObjectFieldDisplay.Update () (at C:/Unity/Source/unity-git/Editor/Mono/UIElements/Controls/ObjectField.cs:182)
UnityEditor.UIElements.ObjectField.UpdateDisplay () (at C:/Unity/Source/unity-git/Editor/Mono/UIElements/Controls/ObjectField.cs:132)
Unity.UI.Builder.BuilderObjectField.UpdateDisplay () (at C:/Unity/Source/unity-git/Modules/UIBuilder/Editor/Builder/UxmlAttributesView/Fields/BuilderUxmlAssetAttributeField.cs:82)
UnityEngine.UIElements.VisualElement+SimpleScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at C:/Unity/Source/unity-git/Modules/UIElements/Core/VisualElementScheduler.cs:346)
UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at C:/Unity/Source/unity-git/Modules/UIElements/Core/Scheduler.cs:363)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at C:/Unity/Source/unity-git/Modules/UIElements/Core/UIElementsUtility.cs:273)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at C:/Unity/Source/unity-git/Modules/UIElements/Core/UIElementsUtility.cs:105)
UnityEditor.RetainedMode.UpdateSchedulers () (at C:/Unity/Source/unity-git/Modules/UIElementsEditor/RetainedMode.cs:55)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on "StoredGraphicsBuffer::GetGfxBufferID" when activating VFX via extention of Activation Track in Timeline window
- [Linux] Stack trace file path and line number information is missing when IL2CPP Stacktrace Information is set to "Method Name, File Name, and Line Number"
- Warnings due to obsolete Object.FindObjectsByType<T> usage and [SerializeReference] are logged when opening the Netcode for Entities setup scene
- Non-standard pointers cannot change Inspector values with arrow controls when crossing Inspector area
- No longer able to change the Toggle or Slider GameObjects' Target Graphic value and a NullReferenceException is thrown when the Target Graphic value is set to None at any point
Add comment