Ink VariablesState reset on load.
Posted: Thu Sep 15, 2022 1:42 pm
Hi,
I'm using the Dialogue System with the Ink Integration. I've been able to get it to save and reload at the correct place in teh story but for some reason it loads with the default variablesState rather than one that reflects the previous events of the saved story. For example, a variable that starts at 2 in a new game but was 4 in the saved game would be back at 2 upon load.
I'm calling SaveSystem.SaveGameToSlot and SaveSystem.LoadGameFromSlot on the Dialogue Manager (Save System). Is there a setting I'm missing? Should I be calling the Ink Saver directly?
Sorry if I'm missing something obvious and well-documented.
I'm using the Dialogue System with the Ink Integration. I've been able to get it to save and reload at the correct place in teh story but for some reason it loads with the default variablesState rather than one that reflects the previous events of the saved story. For example, a variable that starts at 2 in a new game but was 4 in the saved game would be back at 2 upon load.
I'm calling SaveSystem.SaveGameToSlot and SaveSystem.LoadGameFromSlot on the Dialogue Manager (Save System). Is there a setting I'm missing? Should I be calling the Ink Saver directly?
Sorry if I'm missing something obvious and well-documented.