Page 1 of 1

Dialogue System activating in Unity, but not in standalone build

Posted: Fri Apr 23, 2021 9:26 am
by soniclinkerman
Hey!

I'm running into an issue where when I clear the save data of dialogue system save settings in Unity, it works fine, but when I make a standalone build, the dialogue doesn't run.

I'm assuming there's some saved data still on my computer that's keeping the dialogue from having it's reset variables on the standalone version, but wanted to confirm

Re: Dialogue System activating in Unity, but not in standalone build

Posted: Fri Apr 23, 2021 9:37 am
by Tony Li
Hi,

Yes. If you're using PlayerPrefs or PlayerPrefsSavedGameDataStorer, the Unity editor stores different PlayerPrefs than standalone builds. You can go into wherever PlayerPrefs is stored on your platform (e.g., Windows Registry on Windows), but it may be simpler to provide an in-game "Restart Game" button that resets everything.

Re: Dialogue System activating in Unity, but not in standalone build

Posted: Fri Apr 23, 2021 10:01 am
by soniclinkerman
Good idea. I'll just add a reset button.

Thanks!

Re: Dialogue System activating in Unity, but not in standalone build

Posted: Fri Apr 23, 2021 11:02 am
by Tony Li
Glad to help!