Dialogue System activating in Unity, but not in standalone build

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
soniclinkerman
Posts: 82
Joined: Wed Mar 31, 2021 6:48 pm

Dialogue System activating in Unity, but not in standalone build

Post 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
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
soniclinkerman
Posts: 82
Joined: Wed Mar 31, 2021 6:48 pm

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

Post by soniclinkerman »

Good idea. I'll just add a reset button.

Thanks!
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

Glad to help!
Post Reply