Issue with Adventure Creator saving system integration [fixed]
Posted: Fri Feb 17, 2023 9:25 am
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.
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.