Corrupted save file

Fixed
kernelstubbs [github] · 1 year ago

Issue description

The game failed to initialize. Please file a bug report if this issue persists.

Mafi.Serialization.CorruptedSaveException: Failed to initialize 'TrainTracksGraphManager' when calling 'initAfterLoad' ---> Mafi.Serialization.CorruptedSaveException: null blocks when loading flags.
at Mafi.Core.Trains.TrainTracksGraphManager.initAfterLoad () [0x001c3]
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__33.MoveNext () [0x005c7]
at Mafi.Core.SaveGame.GameLoader+<FinishGameLoadAndDisposeTimeSliced>d__7.MoveNext () [0x004a9]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__3.MoveNext () [0x002fe]
at Mafi.Unity.GamePlayScene+<loadGame>d__23.MoveNext () [0x00297]
at Mafi.Unity.GamePlayScene+<Initialize>d__20.MoveNext () [0x000a5]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__88.MoveNext () [0x000fc]
at Mafi.Unity.Main.stepSceneInitialization () [0x000dd]

Reproduction steps

Just loading any save from my game.

One thing I noticed was that there was a small piece of rail that I could not delete near my glass factory - it consisted pretty much of the "end of the track" image and I couldn't select or delete it.

I'm unable to upload my save file

Game version and build number

v0.7.5b b454

Operating system

Windows

Attachments

kernelstubbs [github] · 1 year ago

Worth noting that I played for so long, my autosaves are corrupted as well - best I have is a backup from about 31 hours (of playtime) ago. Not sure if you're able to give me a dropbox or something to take a look? I would really appreciate it though.

Captain Marek Captain Marek · 1 year ago

This has been fixed in v0.7.5c build 455 currently available on experimental, and will be on the main branch later today. This should also recover the corrupted save. Thanks for the report and sorry for the issue!

kernelstubbs [github] · 1 year ago

This has been fixed in v0.7.5c build 455 currently available on experimental, and will be on the main branch later today. This should also recover the corrupted save. Thanks for the report and sorry for the issue!

Thank you. Your team is amazing.

Closed as ✅ Fixed

6 Showing 1–7 of 7