October 3rd, 2023 Livestream Q&A: Why does Autosave freeze the game completely?

October 3rd, 2023 Livestream

Q&A: Why does Autosave freeze the game completely?

https://youtu.be/OAPc6HyryHQ

This question has 2 related videos
Suggested Wiki Reference Code <ref name="yt-OAPc6HyryHQ">[https://youtu.be/OAPc6HyryHQ YouTube - October 3rd, 2023 Livestream - Q&A: Why does Autosave freeze the game completely?]</ref>

Topics

Transcript

I was wondering why Autos saving does freeze the game completely I'm No Game Dev but it's, isn't it possible to save in the background while the game is running it is possible but it, creates a bunch of, it iffy edge cases and since the game uses a lot of like sequential like dependency, so if it was running in the background we would need to sort of save a snapshot of the whole building, setup and pause that because, as things are happening and since we can't simulate what's happening, and saving that Snapchat would probably take as long as it takes to serialize everything anyways, it, it would wouldn't really work, I mean it could technically work but it's a lot of work that might end up causing more issues so like it's just safer to do it that way we're doing it, it is a bit annoying that everything freezes up and we freeze the game thread when that happens but it's it's simply because we are scared of messing up the save files and if we add like a bunch of if we add that like whole simulating thing or like being able to like run in the background you can run into the potential potential risk of us, messing up your safe files if we're not careful so that's sort of why we' done it this way to be sure that like the safe your safe files are safe to us so we'd rather do this and have you suffer for the safe time rather than like potentially make it so that your safe F gets corrupted or whatever if we mess it up