Re: Prevent save loss
Posted: Sun Aug 07, 2022 6:48 am
After a bunch of testing, I got it to work by using playerprefs strings.
It even loads that level on the sequencer command LoadLevel failure.
But I don't think this is intended? Previously if a loadlevel failed, it would do nothing, and that makes sense than teleporting all the way to another level.
I assume LoadLevel also invokes validateNameScene. Could it be decoupled? It's just a nitpick of course, you don't have to do it.
It even loads that level on the sequencer command LoadLevel failure.
But I don't think this is intended? Previously if a loadlevel failed, it would do nothing, and that makes sense than teleporting all the way to another level.
I assume LoadLevel also invokes validateNameScene. Could it be decoupled? It's just a nitpick of course, you don't have to do it.