I've started getting this error and I can't figure out where it's coming from. I do suspect that it is because of my attempt to reset the database through a button press.
So I made a new scene with DS, QM and USurvival and tried my reset script in it and everything is fine. No errors.
So it means it's something in the main build.
I'll try working through this but is there anything in the error message that suggests where I might look?
Dialogue System's USurvival integration has the USurvivalLua script that runs an update method at the end of every conversation and quest state change. This is what saves the DS data to the save system.
I can't find the equivalent update method run from the Quest Machine.
I just noticed that in the scene with the fresh installs of QM, DS and USurvival that while I'm not getting an errors the Quest Machine's Quests are not being saved an loaded. Is it possible that something in the files has changed recently?
nathanj wrote: ↑Tue Dec 18, 2018 6:50 pmI'll try working through this but is there anything in the error message that suggests where I might look?
It means the saved game data is null. This could happen if Quest Machine receives bad saved game data. (See below for info about how it gets saved game data.)
nathanj wrote: ↑Tue Dec 18, 2018 9:13 pmDialogue System's USurvival integration has the USurvivalLua script that runs an update method at the end of every conversation and quest state change. This is what saves the DS data to the save system.
I can't find the equivalent update method run from the Quest Machine.
The Dialogue System is more contained in what it does, so it can raise events whenever something relevant happens (e.g., conversation ends or quest state changes). The Dialogue System's uSurvival integration can just hook into these events.
Quest Machine tracks a broader list of things that can happen in scenes, and not everything can raise an event. Instead, modifications to uSurvival's Database.cs script tell Quest Machine when to save and load. When uSurvival loads a character, the modification will tell Quest Machine to retrieve its saved game data from uSurvival's database.
nathanj wrote: ↑Tue Dec 18, 2018 9:13 pmI just noticed that in the scene with the fresh installs of QM, DS and USurvival that while I'm not getting an errors the Quest Machine's Quests are not being saved an loaded. Is it possible that something in the files has changed recently?
Double-check that you've made all of the uSurvival script modifications on page 4 of the Quest Machine uSurvival Addon manual. If you've double-checked the modifications and everything looks correct, please let me know. I'm scheduled to test the uSurvival Addon with the very latest version of uSurvival tomorrow. It's possible that something changed that will require an update to those script modifications.
So I doubled checked my test scene and I had originally forgot to add one line to the Database.cs script. Once I had correctly edited it I got the error in the new scene as well.
I'll send you an email with a more detailed response.
I’ll have to check the test build when I get into the office but I’m prett sure I have the right symbols defined. I do in the main build for sure and the error occurs in both builds.
I have versions:
QM 1.12
DS 2.1
USurvival I’m not sure but it’ll be one of the recent ones for sure. I’ll check when I get into the office in the morning.
uSurvival tends to have breaking changes with each update. I just sent you links to updated uSurvival integration packages. They're also on the Extras pages.