Stack Overflow on ES3Settings() call

Discussion and help for Easy Save 3
Post Reply
David_Nightcap
Posts: 17
Joined: Sun Apr 12, 2020 1:18 pm

Stack Overflow on ES3Settings() call

Post by David_Nightcap »

I'm getting a crash overflow when trying to run my project in the editor.
It was working fine but I can't figure out why it's now crashing.
It crashes at ES3Settings():

Code: Select all

public ES3Settings settings;
...
settings = new ES3Settings();
I found that the "Easy Save 3 Manager" object needs to be at the root via this thread and I moved it back to the root (since I nested it).
https://moodkie.com/forum/viewtopic.php?f=13&t=1562

It still crashes.
Any aid would be super appreciated. Thanks!

EDIT:
Unity 2019.3.3f1 and latest Easy Save from Asset Store.
Last edited by David_Nightcap on Sun Apr 12, 2020 2:18 pm, edited 1 time in total.
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Stack Overflow on ES3Settings() call

Post by Joel »

Hi David,

I've not seen this before. Please could you private message me a basic project which replicates it?

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
David_Nightcap
Posts: 17
Joined: Sun Apr 12, 2020 1:18 pm

Re: Stack Overflow on ES3Settings() call

Post by David_Nightcap »

Maybe. With commercial game with Switch SDK, it might be quite tricky.
I don't really have a lot of special code for ES3 yet. I just got it yesterday so it's just the basics.
I'll look into it.

It worked before I moved that game object out of root if that helps.
David_Nightcap
Posts: 17
Joined: Sun Apr 12, 2020 1:18 pm

Re: Stack Overflow on ES3Settings() call

Post by David_Nightcap »

Just grasping at straws here as I try to reverse engineer all the changes I made today that may have led to this.
Can you call this function from a class that inherits from MonoBehavior?
David_Nightcap
Posts: 17
Joined: Sun Apr 12, 2020 1:18 pm

Re: Stack Overflow on ES3Settings() call

Post by David_Nightcap »

Nevermind. Solved.
It was my own stupid error causing it to call my initialize function (and thus, ES3Settings() over and over)
Nothing to see here.
I've been looking at this code too long lol.
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Stack Overflow on ES3Settings() call

Post by Joel »

Glad you managed to find the solution David, let me know if you run into any other issues :)

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply