Issue with Adventure Creator saving system integration [fixed]

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
rairun
Posts: 34
Joined: Mon Feb 19, 2018 3:48 pm

Issue with Adventure Creator saving system integration [fixed]

Post by rairun »

I figured out what was wrong just as I was about to hit "submit". For some reason the ID in the "Remember Dialogue System" component was set to different numbers in different scenes. I don't need any help, but will post anyway because this might be useful to people searching for a solution later.

These are the reproduction steps of the issue I was having:

- Enter Play Mode from Scene 1
- Run Conversation 1
- Save game via Adventure Creator
- Switch to Scene 2
- Run Conversation 2, where one of the nodes in Conversation 1 having been displayed is a condition for a dialogue option.
- The dialogue option is displayed correctly.

- Enter Play Mode from Scene 1
- Load game saved above via Adventure Creator
- Switch to Scene 2
- Run Conversation 2, where one of the nodes in Conversation 1 having been displayed is a condition for a dialogue option.
- The dialogue option is displayed correctly.

- Enter Play Mode from Scene 2
- Load game saved above via Adventure Creator, taking us back to scene 1
- The AC "DialogueSystemEnvironment" string variable is correctly restored from the save, but the DS variables under "Watches" are not. The display status of the Conversation 1 nodes are "Untouched".
- Switch to Scene 2
- Run Conversation 2, where one of the nodes in Conversation 1 having been displayed is a condition for a dialogue option.
- The dialogue option is NOT displayed.

- Enter Play Mode from Scene 2
- Switch to Scene 1
- Load game saved above via Adventure Creator, taking us back to scene 1
- The AC "DialogueSystemEnvironment" string variable is correctly restored from the save, but the DS variables under "Watches" are not. The display status of the Conversation 1 nodes are "Untouched".
- Switch to Scene 2
- Run Conversation 2, where one of the nodes in Conversation 1 having been displayed is a condition for a dialogue option.
- The dialogue option is NOT displayed.
User avatar
Tony Li
Posts: 21955
Joined: Thu Jul 18, 2013 1:27 pm

Re: Issue with Adventure Creator saving system integration [fixed]

Post by Tony Li »

Thank you for taking the time to post your solution. This could save someone a major headache in the future.
Post Reply