I have a chain of inherited classes, and I have an array of baseClass
they are all [Serializable]
whenever I do baseClass[×] = inheritedClass, everything works fine
however, if I touch the object in the hierarchy that has a reference to baseClass[ ], during playmode,
Im getting the following error:
ArrayTypeMismatchException: Attempted to access an element as a type incompatible with the array.
(wrapper stelemref) System.Object.virt_stelemref_class_small_idepth(intptr,object)
if I dont open the inspector everything works correctly
This doesnt really bother me because the code is working correctly, its just extremely annoying that I have to be careful about what object I have selected in the inspector