If i move any event in an animation i get this error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.InspectorWindowUtils.GetFirstNonImportInspectorEditor (UnityEditor.Editor[ ] editors) (at <11d97693183d4a6bb35c29ae7882c66b>:0)
UnityEditor.InspectorWindow.GetInspectedObject () (at <11d97693183d4a6bb35c29ae7882c66b>:0)
UnityEditor.PropertyEditor.OnDisable () (at <11d97693183d4a6bb35c29ae7882c66b>:0)
UnityEditor.InspectorWindow.OnDisable () (at <11d97693183d4a6bb35c29ae7882c66b>:0)
UnityEditor.EditorApplicationLayout:InitPlaymodeLayout()
i searched for it and it should be an editor’s error but it pup ups exclusively after i move an event and click play. The event works perfectly fine if i leave it in its original place (it just enables player controls and two gameobjects). Like many said i already close all editors and reset layouts but nothing changed. I also deleted the event and remade it in a different time, same problem.