Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Save game corruption #28133
Describe the bug
If I choose the ignore the errors the game loads, but the area around me has been reset... Or perhaps I should say rerolled. The mansion I am in has been repaired to its original state and being refilled with new random loot. The various furniture I've built and my stockpiles of items have been deleted. Which is perhaps to be expected given the game can't load those arrays. What is interesting is my characters map memory still remembers the mansion as I left it.
If I approach these windows I had previously boarded up I will discover them returned to their original map state:
Probably not diagnostically relevant but shows how this issue affects ongoing gameplay.
Versions and configuration(please complete the following information):
The main issue for my continuing with this save is the destruction of stockpiles of collected items and the possibility that will happen again. It's worth noting I had not really set up permanent camp in the mansion (it's not my main base) and the items hoarded there are just items from within and around the mansion itself I was grouping together to pick up with a trolly later. There weren't any ridiculously large piles with stupid numbers of items likely to cause a memory issue.
Heres the full log file:
And here is the savegame:
Entirely possible. Though a quick search shows I'm not the only person to experience it... Across different environments. Also doesn't mean there is nothing that can be done about this issue. Since the files are corrupted during the save all the system needs to do is check the first character of every file after is saves it to see if it's readable and not exit if the save wasn't successful. The resulting alert might also make it more apparent what circumstances are responsible for contributing to a failed save.
Oh of course not. The data in the files is toast. I have no expectations of recovering the save. Just hoping to prevent it in the future. Ideally, by finding out what's causing it and resolving that (The fact it's happened twice in a year both times around mansion maps makes me suspicious there's something going on around those). But given, it's an ironman save system and maintaining multiple backup saves kind of goes against the permadeath vibe, a verification system could go a long way, especially if new issues causing save corruption pop up in the future.
"it is probably an environmental issue." means it most likely is a result of something happening outside the game. I.e. filesystem corruption, disk error, process killed during save process.
None of these scenarios are anything we can fix from within the game.
If there is a cause within the game, this issue doesn't point to it, so there's also nothing to be done about it unless we get a better reproduction case.
A final note, backing up your saves isn't contradictory to ironman play, just don't restore based on in-game events.