Game crash and corrupted Files when loading 0.8.4a

Crash Saves & Loading
CautiousBrand [github] · 5 months ago

Issue description

Yesterday i played on 0.8.4 and everything worked. Today i wanted to continue (0.8.4a was installed automatically) and the game crashed when tried to load the save. I could repair it by deactivating the steam overlay as the steam integration in the game causes some Problems. After that, the game was able to load about half of the savegame and then abort with reporting a corrupted save file:

Das Spiel konnte nicht geladen werden, da die Speicherdatei beschÃĪdigt ist. Sollte das Problem bestehen bleiben, erstelle bitte einen Fehlerbericht.

Mafi.Serialization.CorruptedSaveException: Failed to initialize 'Train' when calling 'initAfterLoad' ---> Mafi.Serialization.CorruptedSaveException: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Mafi.Collections.ArrayDataStorage1[T].get_Item (System.Int32 index) [0x00000] at Mafi.Core.Trains.TrainTracksGraphManagerBase1[TTrack].IsBlockCritical (Mafi.Core.Trains.TrainTrackBlockId blockId) [0x0000d]
at Mafi.Core.Trains.Train.reconstructReservedNonCriticalWaypointsData () [0x0003f]
at Mafi.Core.Trains.Train.initAfterLoad (System.Int32 saveVersion) [0x00732] . Train initialization failed.
at Mafi.Core.Trains.Train.initAfterLoad (System.Int32 saveVersion) [0x0089f]
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__35.MoveNext () [0x005fa]
at Mafi.Core.SaveGame.GameLoader+<FinishGameLoadAndDisposeTimeSliced>d__12.MoveNext () [0x004ef]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x005a4]
at Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x002ca]
at Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__112.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x000fd]

Game version: 0.8.4a
Loaded mods: (Supporter edition 1.1.0)
Failed mods: none

It happens on both manual saves and autosaves. I retried it severall times, but to no avail. I will attach all files i can find, but for 3 of the 5 crashes only the crash folders were created, the .log or .dmp files are missing

Reproduction steps

I just tried to load an manual save.

Game version and build number

v0.8.4a b588

Operating system

Windows

Attachments

Unterbrechung.save, Player.log, Player-prev.log, Crash_2026-05-09_062737239_crash.dmp, Crash_2026-05-09_062737239_Player.log, Crash_2026-05-09_062815396_crash.dmp, Crash_2026-05-09_062815396_Player.log
26-05-08_23-16-autosave-paused.save

8 attachments only for registered users
13 Showing 1–2 of 2