I’m getting the following error multiple times in the inspector:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.GameObjectInspector.OnDisable () (at <999cf70008af42ff801367fff45dedb1>:0)
And:
ArgumentNullException: Value cannot be null.
Parameter name: componentOrGameObject
UnityEditor.GameObjectInspector.OnEnable () (at <999cf70008af42ff801367fff45dedb1>:0)
I didn’t add any packages that would cause this and I don’t have an custom editor scripts or anything. What’s causing this error? It’s not halting my script execution as far as I can tell.
It only throws this error in play mode, but it’s an error with the editor? Very confused.