Issue description
Error when trying to load one of the last two savegames. The third one still succeeds.
Already happened some days ago with other savegames. Then for some time no problem, but now it is back:
The game could not be loaded because the save file is corrupted. If the problem persists, please create a bug report.
Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'TransportPillar #1 (destroyed)' (type 'TransportPillar')
parent object '--' (type '--')
Previous deserialized in this finalize call: 'Zipper #48434' (type 'Zipper')
Last deserialized across all finalize calls: 'Zipper #48434' (type 'Zipper')
Last read object types: [ProductQuantity[], Boolean[], Queueu1] ---> Mafi.Serialization.CorruptedSaveException: Deserialized object has type 'String' but type 'Proto' was expected. ToString returned 'COI-CoreData'. classId: 2, readObjects.Count: 52590
at Mafi.Serialization.BlobReader.TryStartClassDeserialization[T] (T& obj, System.Func3[T1,T2,TResult] customNewObjFactory, System.Func`3[T1,T2,TResult] customNewObjFactoryOnTypeLoadFail, System.Boolean nullObjIsOk) [0x000dd]
at Mafi.Core.Prototypes.ProtosSerializerFactory.deserialize[T] (Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader.ReadGenericAs[T] () [0x00032]
at Mafi.Core.Entities.Entity.DeserializeData (Mafi.Serialization.BlobReader reader) [0x0005f]
at Mafi.Core.Entities.Static.StaticEntity.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Core.Factory.Transports.TransportPillar.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Core.Factory.Transports.TransportPillar+<>c.<.cctor>b__41_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__44.MoveNext () [0x00054]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__44.MoveNext () [0x00202]
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__117.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x00104]
Game version: 0.8.7d
Loaded mods: (Kayser's Automatic Terrain Designations 0.8.2), (Advanced Farm & Food Optimiser 0.4.0), (Industrial Expansion 1.0.5), (Multi-Priority Balancers 0.2.1), (Underground Pipes 1.3.1), (Research Queue 1.0.1), (Utilities++ 1.3.0)
Failed mods: none
Reproduction steps
- Main menu
-
Continue -> error
Load -> savegame -> error
Game version and build number
v0.8.7d
Operating system
Windows