How to figure out which mod is causing fail to load a save file.

warrenc · 8 days ago

Is there a quick way to tell which mod is causing my save to not load. I added several mods and I can start a game, but after running a while and saving, it will not load without generating this error. I do not know how to translate this error message to something I can understand.

Thanks for any help anyone can give

..............................................................................................Error follows...........................................

The game failed to load as the save file is corrupted. If this issue persists, please file a bug report.

Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Transport #1 (destroyed)' (type 'Transport')
parent object '--' (type '--')
Previous deserialized in this finalize call: 'Zipper #463' (type 'Zipper')
Last deserialized across all finalize calls: 'Zipper #463' (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-Core'. classId: 1, readObjects.Count: 36209
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.Transport.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Core.Factory.Transports.Transport+<>c.<.cctor>b__219_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: (Trains expansion 1.0.0), (Supporter edition 1.1.0), (Farms & Greenhouses Anywhere 1.0.2), (Plant Trees on Any Terrain 1.3.0), (Area Snap Tool 0.2.1), (Kayser's Automatic Forestry Designations 0.4.3), (Kayser's Automatic Terrain Designations 0.9.3), (Bagger 288 0.8.0), (战斗船燃料更换 4.0.1), (Beacon & Government+ 1.1.1), (Union Pacific Big Boy 1.0.5), (Blueprint Products Info 1.1.0), (C.O.I. Skylines - Linked Cities 1.0.4), (Quick Build Unlocked 1.0.3), (Show Terrain Grid 1.0.2), (Cargo Flight Mod 0.4.1), (Cheat++ 1.5.0), (Cargo Helicopter 0.20.0), (Coastal Immigration Beacon 0.2.16), (Colibri Industries 0.2.1), (Custom Assets Loader 0.4.2), (Air filtering tweaks [CAL] 0.0.2), (粉碎机加强 2.0.0), (Kayser's Blueprint Designer's Toolkit 0.11.4), (Extended Cargo Ships 3.0.0), (多口物流增强 Mod 1.0.2), (小分拣MOD 5.0.1), (Flip Settlement Modules 0.1.1), (WorldGen++ 1.2.5), (Geology & Reservoir Engineering 1.4.4), (Gameplay++ 1.4.2), (Recipes++ 1.3.2), (Fusion Horizon 0.2.3), (燃气发电机 Gas Generator 0.2.0), (Jocker-QoL (experimantal for now) 0.0.1), (KptKosmit91's Difficulty Settings 1.1.0), (Mine Lifts 6 + 11 1.0.0), (Mor Decor 1.0.2), (MultiLangLib 0.1.0), (Multi-Priority Balancers 0.2.1), (My Airship Mod 我的飞艇mod 0.8.25), (My Power Mod 太阳能混合发电站 0.4.0), (No Pillars Required 1.2.2), (核反应堆修改MOD 1.0.0), (Pause On Start 0.1.3), (Pier Wall Mod 1.0.2), (Underground Pipes 1.3.3), (Plant Any Tree 0.7.0), (压缩解压缩MOD 6.0.5), (Research Queue 1.0.1), (Retaining Walls Never Die 1.0.1), (ShipAutoExplore 0.1.0), (Smart Flare Mod 1.0.4), (Smart Ship Unload 0.1.1a), (Underground Transport 5.3.1), (Vehicle Parking Spots 0.9.0), (垃圾转土豆MOD Garbage to potatoes 3.0.0), (Wind turbines 0.1.11a), (世界矿山mod 2.0.1), (Boost++ 1.3.5), (Energy Storage 0.4.1), (Field Farming 1.3.1), (Fishing Fleet 0.1.3), (Livestock Farming 0.2.3), (Logistics Expanded 1.3.2), (Mega Mining 0.7.0), (Procedural Research Tree 1.0.2), (Speed++ 1.1.5), (Storage++ 1.3.6), (Tweaks++ 1.3.9), (Utilities++ 1.3.0)
Failed mods: none

computerneek · 1 day ago

... That's certainly "several mods".

It looks like it failed to load a "transport #1 (destroyed)", so that's... possibly a transport belt? All I can suggest (with no guarantee of success) is:

  1. Remove any/all mods that might be causing it.
  2. Start another game, play a while, save, and reload. If it crashes on load, you didn't remove enough mods.
  3. Re-enable all those mods, save, and reload. If it doesn't crash, you probably didn't do the right things in the world.
  4. Return to the reduced modset that worked.
  5. Confirm that the original save file (created in step 2) still loads.
  6. Enable one of the added mods, load the file, save, and reload. If it fails, you have your culprit.

If you attach the damaged save file to your post, someone at MaFi might be able to help point you in the right direction... no guarantee there either, though.

Edited 1 day ago
👍 1
31 Showing 1–2 of 2