Error loading after update

Mod issue Saves & Loading

A game update can break mods until their authors rebuild them. Mods not working explains how to keep playing meanwhile.

verena.schmid.2 verena.schmid.2 · 17 days ago

Issue description

The game could not be loaded because the save file is corrupted. This is usually caused by a mod that is no longer compatible with this game version.

---> CorruptedSaveException: Deserialized object has type 'StackerTowerSlotBasedValidator' but type 'Event' was expected. ToString returned 'Mafi.Core.Factory.Transports.StackerTowerSlotBasedValidator'. classId: 161, readObjects.Count: 183
at Mafi.Serialization.BlobReader.TryStartClassDeserialization[T] (T& obj, System.Func3[T1,T2,TResult] customNewObjFactory, System.Func3[T1,T2,TResult] customNewObjFactoryOnTypeLoadFail, System.Boolean nullObjIsOk) [0x000e9]
at Mafi.Event.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Core.Simulation.SimLoopEvents.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00044]
at Mafi.Core.Simulation.SimLoopEvents+<>c.<.cctor>b__100_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__44.MoveNext () [0x00054]
---> CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Core.Simulation.SimLoopEvents' (type 'SimLoopEvents')
parent object '--' (type '--')
Previous deserialized in this finalize call: <none - failure is the first delayed deserializer in this finalize call>
Last deserialized across all finalize calls: 'Mafi.Core.SaveGame.GameSaveInfo' (type 'GameSaveInfo')
Last read object types: [StatueOfMaintenanceManager, VehiclesConnectivityManager, TrainWaypointRestrictionsRegistry]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__44.MoveNext () [0x00203]
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__126.MoveNext () [0x00146]
at Mafi.Unity.Main.stepSceneInitialization () [0x00122]

Game version: 0.8.8a
Loaded mods: (Trains expansion 1.0.0), (Supporter edition 1.1.0), (Extra Transports 0.0.1), (MultiLangLib 0.1.0), (Highway Roads 0.5.0), (Industrial Expansion 1.0.5), (Underground Transport 6.2.0), (Wind turbines 0.1.11a)
Failed mods: none

Reproduction steps

???

Game version and build number

v0.8.8a (b630)

Which branch of the game are you on?

Stable

Operating system

Windows

Originally posted in German
Fehler beim Laden nach update
### Issue description Das Spiel konnte nicht geladen werden, da die Speicherdatei beschädigt ist. Meist liegt das an einem Mod, der nicht mehr zu dieser Spielversion passt. \---&gt; CorruptedSaveException: Deserialized object has type 'StackerTowerSlotBasedValidator' but type 'Event' was expected. ToString returned 'Mafi.Core.Factory.Transports.StackerTowerSlotBasedValidator'. classId: 161, readObjects.Count: 183\ at Mafi.Serialization.BlobReader.TryStartClassDeserialization\[T\] (T& obj, System.Func`3[T1,T2,TResult] customNewObjFactory, System.Func`3\[T1,T2,TResult\] customNewObjFactoryOnTypeLoadFail, System.Boolean nullObjIsOk) \[0x000e9\]\ at Mafi.Event.Deserialize (Mafi.Serialization.BlobReader reader) \[0x00000\]\ at Mafi.Core.Simulation.SimLoopEvents.DeserializeData (Mafi.Serialization.BlobReader reader) \[0x00044\]\ at Mafi.Core.Simulation.SimLoopEvents+&lt;&gt;c.&lt;.cctor&gt;b__100_1 (System.Object obj, Mafi.Serialization.BlobReader reader) \[0x00000\]\ at Mafi.Serialization.BlobReader+&lt;FinalizeLoadingTimeSliced&gt;d__44.MoveNext () \[0x00054\]\ ---&gt; CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Core.Simulation.SimLoopEvents' (type 'SimLoopEvents')\ parent object '--' (type '--')\ Previous deserialized in this finalize call: &lt;none - failure is the first delayed deserializer in this finalize call&gt;\ Last deserialized across all finalize calls: 'Mafi.Core.SaveGame.GameSaveInfo' (type 'GameSaveInfo')\ Last read object types: \[StatueOfMaintenanceManager, VehiclesConnectivityManager, TrainWaypointRestrictionsRegistry\]\ at Mafi.Serialization.BlobReader+&lt;FinalizeLoadingTimeSliced&gt;d__44.MoveNext () \[0x00203\]\ at Mafi.Core.SaveGame.GameLoader+&lt;FinishGameLoadAndDisposeTimeSliced&gt;d__12.MoveNext () \[0x004ef\]\ at [Mafi.Core.Game](http://Mafi.Core.Game).GameBuilder+&lt;BuildLoadedGameTimeSliced&gt;d__1.MoveNext () \[0x005a4\]\ at Mafi.Unity.GamePlayScene+&lt;loadGame&gt;d__28.MoveNext () \[0x002ca\]\ at Mafi.Unity.GamePlayScene+&lt;Initialize&gt;d__25.MoveNext () \[0x000ad\]\ at Mafi.Unity.Main+&lt;unloadAndStartNewScene&gt;d__126.MoveNext () \[0x00146\]\ at Mafi.Unity.Main.stepSceneInitialization () \[0x00122\] Game version: 0.8.8a\ Loaded mods: (Trains expansion 1.0.0), (Supporter edition 1.1.0), (Extra Transports 0.0.1), (MultiLangLib 0.1.0), (Highway Roads 0.5.0), (Industrial Expansion 1.0.5), (Underground Transport 6.2.0), (Wind turbines 0.1.11a)\ Failed mods: none ### Reproduction steps ??? ### Game version and build number v0.8.8a (b630) ### Which branch of the game are you on? Stable ### Operating system Windows
Captain Matt Captain Matt · 17 days ago

Thanks for the report! This is caused by a mod, so please let the mod's author know. If it started after a game update, you can keep playing on the previous game version (Steam legacy branch) until the mod is updated, or continue without the mod (recovery save). See the Mods not working guide for how.

At least Industrial Expansion 1.0.5 is known to be outdated, contact the author or follow the suggestions above.

Edited 17 days ago
29 Showing 1–2 of 2