I make 2d struct array to hold event infos works fine but whenever ı add new element in arrays this error occur but when I restart game everthing get fixed is it normal ?
And is there anyone who know how can I change element 0,1 etc names to something more meaningful. I know ı can add string name but this time I have to write all of them by one by. for expemle they can get their struct name and order number like atk 1, atk 2, it would be awesome.
NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
UnityEditor.SerializedProperty.get_objectReferenceInstanceIDValue () (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEditor.EditorGUIUtility.ObjectContent (UnityEngine.Object obj, System.Type type, UnityEditor.SerializedProperty property, UnityEditor.EditorGUI+ObjectFieldValidator validator) (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEditor.UIElements.ObjectField+ObjectFieldDisplay.Update () (at <347e3e2bef8c4deb82c9790c6e198135>:0)
UnityEditor.UIElements.ObjectField.UpdateDisplay () (at <347e3e2bef8c4deb82c9790c6e198135>: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 <27a779fc555e412cad6318e4bfb44443>:0)