GameSaver and DialogueSystemController persistentDataSettings conflict

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
marche4ever
Posts: 20
Joined: Mon Jan 21, 2019 5:29 pm

GameSaver and DialogueSystemController persistentDataSettings conflict

Post by marche4ever »

Hello, I was investigating why my Quest fields would not save, then I found out that both GameSaver and DialogueSystemController writes to PersistentDataManager.includeAllItemData on Awake(), and there is no guarantee of execution order. In my case, I set it to true for GameSaver, but it was set to false by DialogueSystemController. I feel like this workflow should probably be improved.
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: GameSaver and DialogueSystemController persistentDataSettings conflict

Post by Tony Li »

Hi,

GameSaver and LevelManager are both essentially deprecated in favor of the save system. Can you adjust your configuration to eliminate GameSaver and LevelManager? In place of GameSaver, use SaveSystem or SaveSystemMethods. In place of LevelManager, use SaveSystem.LoadScene.
marche4ever
Posts: 20
Joined: Mon Jan 21, 2019 5:29 pm

Re: GameSaver and DialogueSystemController persistentDataSettings conflict

Post by marche4ever »

Tony Li wrote: Thu Nov 12, 2020 4:38 pm Hi,

GameSaver and LevelManager are both essentially deprecated in favor of the save system. Can you adjust your configuration to eliminate GameSaver and LevelManager? In place of GameSaver, use SaveSystem or SaveSystemMethods. In place of LevelManager, use SaveSystem.LoadScene.
Oh... I didn't know that... I thought GameSaver works like any other Saver component such as PositionSaver. I'm removing it now, Thanks!
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: GameSaver and DialogueSystemController persistentDataSettings conflict

Post by Tony Li »

Glad to help. Sorry for the confusion with those components!
Post Reply