Joel kindly checked over the project and noticed that the issue was related to how I was trying to save textmesh pro text.
Turns out I was saving was too much in the textmeshpro component, some of which must have been recursive or cyclic (sorry don't know the correct term), disabling all apart from just "m_text" (which is what i wanted to save) fixed the issue.
Be careful what you do disable if anyone runs into the same issue as if you're saving things like fonts, that change during play, I imagine all of that is also in that component.
--------------------------------------------------------------------
Hey, I randomly started getting a different error tonight :
I tried restarting both unity and PC but It remained. I then noticed there was an update to easysave3 so I downloaded that (3.5.7)InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread
UnityEngine.Object.EnsureRunningOnMainThread () (at <6b66e7caaeb045048a0fbc11f111e6fa>:0)
UnityEngine.Object.GetInstanceID () (at <6b66e7caaeb045048a0fbc11f111e6fa>:0)
UnityEngine.Object.IsNativeObjectAlive (UnityEngine.Object o) (at <6b66e7caaeb045048a0fbc11f111e6fa>:0)
UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) (at <6b66e7caaeb045048a0fbc11f111e6fa>:0)
UnityEngine.Object.op_Equality (UnityEngine.Object x, UnityEngine.Object y) (at <6b66e7caaeb045048a0fbc11f111e6fa>:0)
ES3AutoSave+<>c.<OnAfterDeserialize>b__13_0 (UnityEngine.Component c) (at Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSave.cs:53)
System.Collections.Generic.List`1[T].RemoveAll (System.Predicate`1[T] match) (at <51ee0c51c90047b488b10b1b78b365d8>:0)
ES3AutoSave.OnAfterDeserialize () (at Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSave.cs:53)
That error went away and now I have a new error everytime I exit playmode
Only occuring on my one very large master scene. Any help would be greatly appreciated.StackOverflowException: The requested operation caused a stack overflow.
System.RuntimeType.GetInterface (System.String fullname, System.Boolean ignoreCase) (at <51ee0c51c90047b488b10b1b78b365d8>:0)
System.Type.GetInterface (System.String name) (at <51ee0c51c90047b488b10b1b78b365d8>:0)
ES3Internal.ES3Reflection.ImplementsInterface (System.Type type, System.Type interfaceType) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:586)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:81)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Internal.ES3Reflection.TypeIsSerializable (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:246)
ES3Internal.ES3Reflection.GetSerializableFields (System.Type type, System.Collections.Generic.List`1[T] serializableFields, System.Boolean safe, System.String[] memberNames, System.Reflection.BindingFlags bindings) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:137)
ES3Internal.ES3Reflection.GetSerializableMembers (System.Type type, System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:315)
ES3Types.ES3Type.GetMembers (System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:172)
ES3Types.ES3Type.GetMembers (System.Boolean safe) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:167)
ES3Types.ES3ReflectedScriptableObjectType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs:14)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:120)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Types.ES3CollectionType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs:22)
ES3Types.ES3ListType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs:11)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:85)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Internal.ES3Reflection.TypeIsSerializable (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:246)
ES3Internal.ES3Reflection.GetSerializableFields (System.Type type, System.Collections.Generic.List`1[T] serializableFields, System.Boolean safe, System.String[] memberNames, System.Reflection.BindingFlags bindings) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:137)
ES3Internal.ES3Reflection.GetSerializableMembers (System.Type type, System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:315)
ES3Types.ES3Type.GetMembers (System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:172)
ES3Types.ES3Type.GetMembers (System.Boolean safe) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:167)
ES3Types.ES3ReflectedScriptableObjectType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs:14)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:120)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Types.ES3CollectionType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs:22)
ES3Types.ES3ListType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs:11)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:85)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Internal.ES3Reflection.TypeIsSerializable (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:246)
ES3Internal.ES3Reflection.GetSerializableFields (System.Type type, System.Collections.Generic.List`1[T] serializableFields, System.Boolean safe, System.String[] memberNames, System.Reflection.BindingFlags bindings) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:137)
ES3Internal.ES3Reflection.GetSerializableMembers (System.Type type, System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:315)
ES3Types.ES3Type.GetMembers (System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:172)
ES3Types.ES3Type.GetMembers (System.Boolean safe) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:167)
ES3Types.ES3ReflectedScriptableObjectType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs:14)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:120)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Types.ES3CollectionType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs:22)
ES3Types.ES3ListType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs:11)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:85)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Internal.ES3Reflection.TypeIsSerializable (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:246)
ES3Internal.ES3Reflection.GetSerializableFields (System.Type type, System.Collections.Generic.List`1[T] serializableFields, System.Boolean safe, System.String[] memberNames, System.Reflection.BindingFlags bindings) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:137)
ES3Internal.ES3Reflection.GetSerializableMembers (System.Type type, System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:315)
ES3Types.ES3Type.GetMembers (System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:172)
ES3Types.ES3Type.GetMembers (System.Boolean safe) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:167)
ES3Types.ES3ReflectedScriptableObjectType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs:14)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:120)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Types.ES3CollectionType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs:22)
ES3Types.ES3ListType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs:11)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:85)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Internal.ES3Reflection.TypeIsSerializable (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:246)
ES3Internal.ES3Reflection.GetSerializableFields (System.Type type, System.Collections.Generic.List`1[T] serializableFields, System.Boolean safe, System.String[] memberNames, System.Reflection.BindingFlags bindings) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:137)
ES3Internal.ES3Reflection.GetSerializableMembers (System.Type type, System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:315)
ES3Types.ES3Type.GetMembers (System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:172)
ES3Types.ES3Type.GetMembers (System.Boolean safe) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:167)
ES3Types.ES3ReflectedScriptableObjectType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs:14)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:120)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Types.ES3CollectionType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs:22)
ES3Types.ES3ListType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs:11)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:85)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Internal.ES3Reflection.TypeIsSerializable (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:246)
ES3Internal.ES3Reflection.GetSerializableFields (System.Type type, System.Collections.Generic.List`1[T] serializableFields, System.Boolean safe, System.String[] memberNames, System.Reflection.BindingFlags bindings) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:137)
ES3Internal.ES3Reflection.GetSerializableMembers (System.Type type, System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:315)
ES3Types.ES3Type.GetMembers (System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:172)
ES3Types.ES3Type.GetMembers (System.Boolean safe) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:167)
ES3Types.ES3ReflectedScriptableObjectType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs:14)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:120)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Types.ES3CollectionType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs:22)
ES3Types.ES3ListType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs:11)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:85)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Internal.ES3Reflection.TypeIsSerializable (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:246)
ES3Internal.ES3Reflection.GetSerializableFields (System.Type type, System.Collections.Generic.List`1[T] serializableFields, System.Boolean safe, System.String[] memberNames, System.Reflection.BindingFlags bindings) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:137)
ES3Internal.ES3Reflection.GetSerializableMembers (System.Type type, System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:315)
ES3Types.ES3Type.GetMembers (System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:172)
ES3Types.ES3Type.GetMembers (System.Boolean safe) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:167)
ES3Types.ES3ReflectedScriptableObjectType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs:14)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:120)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Types.ES3CollectionType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs:22)
ES3Types.ES3ListType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs:11)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:85)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Internal.ES3Reflection.TypeIsSerializable (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:246)
ES3Internal.ES3Reflection.GetSerializableFields (System.Type type, System.Collections.Generic.List`1[T] serializableFields, System.Boolean safe, System.String[] memberNames, System.Reflection.BindingFlags bindings) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:137)
ES3Internal.ES3Reflection.GetSerializableMembers (System.Type type, System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:315)
ES3Types.ES3Type.GetMembers (System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:172)
ES3Types.ES3Type.GetMembers (System.Boolean safe) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs:167)
ES3Types.ES3ReflectedScriptableObjectType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs:14)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:120)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Types.ES3CollectionType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs:22)
ES3Types.ES3ListType..ctor (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs:11)
ES3Internal.ES3TypeMgr.CreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:85)
ES3Internal.ES3TypeMgr.GetOrCreateES3Type (System.Type type, System.Boolean throwException) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs:33)
ES3Internal.ES3Reflection.TypeIsSerializable (System.Type type) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:246)
ES3Internal.ES3Reflection.GetSerializableFields (System.Type type, System.Collections.Generic.List`1[T] serializableFields, System.Boolean safe, System.String[] memberNames, System.Reflection.BindingFlags bindings) (at Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs:137)
ES3Internal.ES3Reflection.GetSerializableMembers (System.Type type, System.Boolean safe, System.String[] memberNames) (at Assets/Plugins/Easy Save<message truncated>