Getting this error : SerializedObjectNotCreatableException: Object at index 0 is null any fix ?

I don’t have two inspector windows opened and i didn’t try to close and re open the editor yet.
I wonder if there is a fix already for this problem ?

Closing and opening the editor is not a solution. i don’t mind from time to time to close and open the editor but it’s a bit annoying.

about two inspector windows opened the same time as far i remember i didn’t open two inspector windows in my project not sure if it possible but i didn’t do it and i can’t find two inspector opened windows.

I’m using uniy3d 2020.3.28f1 personal

SerializedObjectNotCreatableException: Object at index 0 is null
UnityEditor.Editor.CreateSerializedObject () (at :0)
UnityEditor.Editor.GetSerializedObjectInternal () (at :0)
UnityEditor.Editor.get_serializedObject () (at :0)
UnityEditor.BaseAssetImporterTabUI.get_serializedObject () (at :0)
UnityEditor.ModelImporterModelEditor.OnEnable () (at :0)
UnityEditor.AssetImporterTabbedEditor.OnEnable () (at :0)
UnityEditor.ModelImporterEditor.OnEnable () (at :0)

Try resetting layouts, upper right corner.

Alternately you might have changed the type of some public field somewhere (eg, changed a field from being GameObject to being Transform, for instance), and the prefab or scene is now invalid. If this is the case, you need to re-specify the object by dragging it into the newly-typed field and resaving.

1 Like