Page 2 of 3

Re: Restart Game (With Adventure Creator) remembers past choices

Posted: Sun Sep 03, 2023 5:48 pm
by perezbalen


This doesn't happen if I restart. If I restart, all color gets reset to white.

Re: Restart Game (With Adventure Creator) remembers past choices

Posted: Sun Sep 03, 2023 8:19 pm
by Tony Li
Hi,

Is your load working? Is there a reason (something in your configuration) that makes it so that the loading process doesn't reload the scene? Normally it would reload the scene.

Re: Restart Game (With Adventure Creator) remembers past choices

Posted: Sun Sep 03, 2023 11:05 pm
by perezbalen
The loading and saving seem to be working fine. As far as I can tell, it's only the thing that remembers whether a line of dialogue was said previously or not, that is not saving.

If I quit and start again (or restart), and load a game, all dialogue options are white. Even the ones that should be a different color, are white. The save/load is not storing the information of what lines had been said.

Re: Restart Game (With Adventure Creator) remembers past choices

Posted: Mon Sep 04, 2023 8:23 am
by Tony Li
I'll check if this is a bug in resetting SimStatus. I'll get back to you on it before the end of the day.

Re: Restart Game (With Adventure Creator) remembers past choices

Posted: Mon Sep 04, 2023 3:30 pm
by Tony Li
Hi,

I confirmed that loading a saved game in AC does correctly reset SimStatus to the state when it was saved.

Can you send a reproduction project to tony (at) pixelcrushers.com?

Re: Restart Game (With Adventure Creator) remembers past choices

Posted: Tue Sep 05, 2023 5:26 pm
by perezbalen
Sure. Just sent you a weTransfet link. Please let me know if I did it ok.

Re: Restart Game (With Adventure Creator) remembers past choices

Posted: Tue Sep 05, 2023 10:21 pm
by Tony Li
Hi,

Thanks for sending the repro project.

I set the Dialogue Manager's "Remember Dialogue System" component's values to:
  • Set: Manual
  • Retain in prefab? ticked
    ID: 1138
Then I applied this to the prefab. (I recommend saving your customized prefab as a prefab variant and applying it there.) This seemed to fix the issue. Please let me know if it fixes the issue in your project, too.

Re: Restart Game (With Adventure Creator) remembers past choices

Posted: Thu Sep 07, 2023 9:59 pm
by perezbalen
Thanks. I did what you said,
Manual, ticked, 1138
But now I get the opposite effect. Every time I load, options are white. Like before when I restarted. Even the ones that should be a different color, are white.
I play. I talk and I chose one line. It turns bule.
I talk again, the line that should be blue is still bule. All seems ok.
I save. Then I immediately load that save file. Now all dialogue is white. As if loading resetead the dialogue memory thing.



I'm using unity 2022.3.1.f1
AC 1.77.4
Dialogue System 2.2.38.1

Re: Restart Game (With Adventure Creator) remembers past choices

Posted: Fri Sep 08, 2023 10:15 pm
by Tony Li
Hmm, I'll investigate and get back to you.

Are you using the latest AC integration? (It's in DS version 2.2.39, released August 2.)

Re: Restart Game (With Adventure Creator) remembers past choices

Posted: Wed Sep 13, 2023 8:01 pm
by perezbalen
I wasn't but now I am. But there is no change in the behavour.