Copyright © 2026 Unity Technologies
How to reproduce:
Expected result: SO returning to the previous state(Chat Items to full list - restarting the editor it does) and no errors
Actual result: SO stays altered in Inspector after leaving Play Mode and errors start spamming in Console while the SO is selected
Errors:
`NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
UnityEditor.SerializedProperty.get_objectReferenceInstanceIDValue () (at /Users/bokken/build/output/unity/unity/Editor/Mono/SerializedProperty.bindings.cs:1427)
UnityEditor.EditorGUIUtility.ObjectContent (UnityEngine.Object obj, System.Type type, UnityEditor.SerializedProperty property, UnityEditor.EditorGUI+ObjectFieldValidator validator) (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorGUIUtility.cs:1003)
UnityEditor.UIElements.ObjectField+ObjectFieldDisplay.Update () (at /Users/bokken/build/output/unity/unity/Editor/Mono/UIElements/Controls/ObjectField.cs:182)
UnityEditor.UIElements.ObjectField.UpdateDisplay () (at /Users/bokken/build/output/unity/unity/Editor/Mono/UIElements/Controls/ObjectField.cs:132)
UnityEngine.UIElements.VisualElement+SimpleScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementScheduler.cs:346)
UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Scheduler.cs:363)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:273)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:105)
UnityEditor.RetainedMode.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/RetainedMode.cs:55)`
Reproduced with: 2023.2.0b11, 2023.3.0a7 on MacOS 13.6
Could not downgrade the project to test earlier versions
Issues you vote on will appear here