Can't open saved game.

Fixed
drewstur [github] · 4 years ago

Issue description

Was playing last night saved manually and then closed the game. The game did crash when selected "Quit" this has happened many times before thought nothing of it. Came to play this morning and got a "really sorry, but it looks like the save is corrupted error."

Expected behavior

The game opens a saved file.

Reproduction steps

Saved game manually
closed game
game crashed when closing (happens often) caused my computer to restart
came back the next day and save will not open

Game version

4.10

Attachments

22-08-20_08-26-13_7790.log, whyme.save

Files not imported: whyme.save

1 attachment only for registered users
Captain Filip Captain Filip · 4 years ago

Exception during game load.
---> CorruptedSaveException: Failed to finalize deserialization of 'Terrain chunk (-9, -5)' (type 'TerrainChunk'. Previous deserialized object: Terrain chunk (1, 5) (type TerrainChunk)
at Mafi.Serialization.BlobReader.FinalizeLoading (Mafi.Option`1[T] resolver) [0x0003d] in Mafi\Serialization\BlobReader.cs:166
at Mafi.Core.SaveGame.GameLoader.FinishGameLoadAndDispose (Mafi.DependencyResolverBuilder resolverBuilder, Mafi.Core.Game.SpecialSerializerFactories specialSerializers) [0x00071] in Mafi.Core\SaveGame\GameLoader.cs:156
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__2.MoveNext () [0x0022f] in Mafi.Core\Game\GameBuilder.cs:194
---> IndexOutOfRangeException: Index was outside the bounds of the array.

Captain Filip Captain Filip · 4 years ago

Thanks for reporting. By any chance do you have a save (like an auto-save) before this issue occurred? I can see the issue with the save file but it is really hard to know how it may have occurred. A save before the issue could help us reproduce this.

Even log files from the gameplay before this corrupted save was created would be helpful. Could you zip the entire logs folder and share it with us?

Captain Filip Captain Filip · 4 years ago

The issue was found and will be fixed in the next patch. Unfortunately, the save file is corrupted and not recoverable, sorry!

Captain Filip Captain Filip · 4 years ago

This was fixed in v0.4.11. Thanks for your report!

Closed as ✅ Fixed

7 Showing 1–6 of 6