StackOverflowException ES3Reflection

Discussion and help for Easy Save 3
craig
Posts: 14
Joined: Sat Aug 20, 2022 9:29 pm

StackOverflowException ES3Reflection

Post by craig »

[Solved]
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 :
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)
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)
That error went away and now I have a new error everytime I exit playmode
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>
Only occuring on my one very large master scene. Any help would be greatly appreciated.
Last edited by craig on Thu Feb 15, 2024 4:34 pm, edited 1 time in total.
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: StackOverflowException ES3Reflection

Post by Joel »

Hi there,

I've not seen this error before. Please could you create a copy of your project and then remove as much from it as possible while still replicating the error. This should then help you track down what object in your scene or project is causing the error.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
craig
Posts: 14
Joined: Sat Aug 20, 2022 9:29 pm

Re: StackOverflowException ES3Reflection

Post by craig »

Ok I did just that and slowly deleted objects and eventually tracked down what object is causing the issue, although complex, it's one i haven't modified for over a week at least so Im not sure why it started causing the issue, the only thing i can think of is that i think i gave it a new parent at some point, but I don't know why that would cause the issue and im pretty sure ive played since then without error.

Although ive found the troubled object I havent discovered the cause or issue yet, the whole scene is autosave so theres no code related saving. It's quite a complex system with lots of children, saving active states and subscripts etc, I wont be able to diagnose fully until tonight but I guess ill have to restart the whole saving on that object. If i do find anything more useful I'll post back.

Thanks
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: StackOverflowException ES3Reflection

Post by Joel »

My best guess is that you're saving a cyclic reference (either to a non-UnityEngine.Object, or reference mode is set to ToValue). Just to check, have you changed any settings in the Settings window or in the Auto Save advanced settings?

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
craig
Posts: 14
Joined: Sat Aug 20, 2022 9:29 pm

Re: StackOverflowException ES3Reflection

Post by craig »

I have not changed any settings no, I have a few mins now im going to remove parts of object and see if i can narrow down further.
craig
Posts: 14
Joined: Sat Aug 20, 2022 9:29 pm

Re: StackOverflowException ES3Reflection

Post by craig »

I cannot seem to figure this out at all, the object in question has 9 children, 3 are different to the rest, I have tried

-deleting the 3
-deleting the other
-removing autosave from all of them
-deleting the parent object that references them

the only thing that works if ALL of them are deleted from the scene.

Any easysave specific reason why any of this could be occuring? anything i could refresh or something, I also tried deleting and re adding the easysave3 manager
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: StackOverflowException ES3Reflection

Post by Joel »

Hi there,

I've never seen this before. Would you be able to create a new project and recreate that object in a new scene (with no other logic), and see if the issue still occurs there?

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
craig
Posts: 14
Joined: Sat Aug 20, 2022 9:29 pm

Re: StackOverflowException ES3Reflection

Post by craig »

Just created a new scene and its the exact same issue, will play around further and see what else i can do.
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: StackOverflowException ES3Reflection

Post by Joel »

If you send me a link to it on moodkie.com/contact along with your order or invoice number and instructions I'll see if I can find anything.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
craig
Posts: 14
Joined: Sat Aug 20, 2022 9:29 pm

Re: StackOverflowException ES3Reflection

Post by craig »

Cool ill reduce it down as much as i can now and get it sent, Cheers.
Post Reply