Still getting error NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
This issue occurs when inspecting an object in the scene Heirarchy that has a script attached with an array list ( need to expand array list in inspector ). This issue has been going on for a few versions and hasnt been fixed. Very annoying issue… You will get thousands of these errors until you deselect the Heirarchy object with script that has the array list.
Edit: This issue can also happen sometimes with objects that dont have an array list
NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
UnityEditor.SerializedProperty.get_objectReferenceInstanceIDValue () (at <8bcfff76472c48f096bf077900dc8a3a>:0)
UnityEditor.EditorGUIUtility.ObjectContent (UnityEngine.Object obj, System.Type type, UnityEditor.SerializedProperty property, UnityEditor.EditorGUI+ObjectFieldValidator validator) (at <8bcfff76472c48f096bf077900dc8a3a>:0)
UnityEditor.UIElements.ObjectField+ObjectFieldDisplay.Update () (at <8bcfff76472c48f096bf077900dc8a3a>:0)
UnityEditor.UIElements.ObjectField.UpdateDisplay () (at <8bcfff76472c48f096bf077900dc8a3a>:0)
UnityEngine.UIElements.VisualElement+SimpleScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at :0)
UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at :0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at :0)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at :0)
UnityEditor.RetainedMode.UpdateSchedulers () (at :0)