Page 1 of 1

Stack Overflow on ES3Settings() call

Posted: Sun Apr 12, 2020 1:25 pm
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.

Re: Stack Overflow on ES3Settings() call

Posted: Sun Apr 12, 2020 1:55 pm
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

Re: Stack Overflow on ES3Settings() call

Posted: Sun Apr 12, 2020 1:58 pm
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.

Re: Stack Overflow on ES3Settings() call

Posted: Sun Apr 12, 2020 2:16 pm
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?

Re: Stack Overflow on ES3Settings() call

Posted: Sun Apr 12, 2020 2:30 pm
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.

Re: Stack Overflow on ES3Settings() call

Posted: Sun Apr 12, 2020 2:51 pm
by Joel
Glad you managed to find the solution David, let me know if you run into any other issues :)

All the best,
Joel