hi,
Quest State does not load because the SetState function does not execute with an error 'System.IO.EndOfStreamException' in the middle of the load.
My guess is that the number of nodes at the time of saving was 8, but the number of nodes at the time of loading is 9, so the binary Reader seems to keep trying to read after EOS.
The point at which the error occurs is line 195, QuestStateSerializer.cs.
My QuestMachine version is 1.2.17
After saving the quest data, I add a new node to the quest and call up the game, so the quest state is not loaded.
After saving the quest data, I add a new node to the quest and call up the game, so the quest state is not loaded.
- Attachments
-
- image1.png (31.6 KiB) Viewed 1130 times
Re: After saving the quest data, I add a new node to the quest and call up the game, so the quest state is not loaded.
Hi,
The next release (which will be available later this week) handles this case now.
The next release (which will be available later this week) handles this case now.