Problem with a mod when loading a save

Won't fix Mod issue
rkrause5115-source [github] · 3 months ago

Issue description

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 'Mafi.Core.Factory.ElectricPower.ElectricityManager' (type 'ElectricityManager')
parent object '--' (type '--')
Previous deserialized in this finalize call: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory')
Last deserialized across all finalize calls: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory')
Last read object types: [ProductionPerProto[], ElectricityGeneratorFromProductProto, ElectricityAvgStats] ---> Mafi.Serialization.CorruptedSaveException: Failed to load type from 'FGWYSeaWaterPower.Entities.SeawaterPowerGeneratorProto, FGWYSeaWaterPower, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at Mafi.Serialization.BlobReader.ReadTypeFromStrNoRef () [0x0004f]
at Mafi.Serialization.BlobReader.ReadType (System.Boolean allowNulls) [0x00085]
at Mafi.Serialization.DynamicDispatchClassSerializer1[T].<.ctor>b__11_1 (Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Serialization.BlobReader.ReadGenericAs[T] () [0x00032] at Mafi.Core.Factory.ElectricPower.ElectricityManager+ProductionPerProto.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000] at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,Mafi.Serialization.BlobReader) at (wrapper delegate-invoke) &lt;Module>.invoke_bound_ElectricityManager/ProductionPerProto_Closure_BlobReader(Mafi.Serialization.BlobReader) at Mafi.Serialization.BlobReader.ReadArray[T] (System.Int32 length) [0x0004d] at Mafi.Collections.LystStruct1[T].Deserialize (Mafi.Serialization.BlobReader reader) [0x00024]
at Mafi.Core.Factory.ElectricPower.ElectricityManager.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00116]
at Mafi.Core.Factory.ElectricPower.ElectricityManager+<>c.<.cctor>b__101_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.MoveNext () [0x00054]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.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__116.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x00104]

Game version: 0.8.6a
Loaded mods: (Trains expansion 1.0.0), (Kayser's Automatic Forestry Designations 0.1.11), (Kayser's Automatic Terrain Designations 0.5.2), (Blueprint Products Info 1.0.0), (Cargo Helicopter 0.18.0), (On-Demand Contracts 0.2.3), (Research Queue 1.0.1), (Gameplay++ 1.2.7), (Tweaks++ 1.2.0), (WorldGen++ 1.1.1)
Failed mods: none

Reproduction steps

The problem shows up when loading the save. On top of that, the save also gets corrupted. Because of this mod.

Game version and build number

v0.8.6a b610

Operating system

Windows

Attachments

I 10:01:15,760 S------ ~Mai: Started logging to file
I 10:01:16,014 S------ ~Mai: Started logging to graylog
I 10:01:16,016 S------ ~Mai: Staring game (standalone) ...
I 10:01:16,055 S------ ~Mai: UTC now: 2026.07.21 08:01:16
G 10:01:16,056 S------ ~Mai: Build: 610, v0.8.6a (Update 4)
I 10:01:16,058 S------ ~Mai: Current culture: de-DE
I 10:01:16,059 S------ ~Mai: Platform: 2
I 10:01:16,062 S------ ~Mai: Screen: 1920 x 1080 @ 75 Hz
I 10:01:16,294 S------ ~Mai: Steam client connected
I 10:01:16,375 S------ ~Mai: Language 'Deutsch' loaded
I 10:01:16,755 S------ ~Mai: Loading available mods from 'C:\Program Files (x86)\Steam\steamapps\common\Captain of Industry\DLCs'.
I 10:01:16,775 S------ ~Mai: Loaded 1 DLCs:
COI-TrainsDlc v1.0.0
I 10:01:16,775 S------ ~Mai: Loading available mods from 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods'.
I 10:01:16,783 S------ ~Mai: Found 9 mods
AutoForestryDesignations vAutoForestryDesignations
AutoTerrainDesignations vAutoTerrainDesignations
BlueprintProductsInfo vBlueprintProductsInfo
CargoHelicopter vCargoHelicopter
gameplay-plus-plus vgameplay-plus-plus
OnDemandContracts vOnDemandContracts
ResearchQueue vResearchQueue
tweaks-plus-plus vtweaks-plus-plus
worldgen-plus-plus vworldgen-plus-plus
I 10:01:17,222 S------ ~Mai: Registering assets bundle dir for mod 'COI-Core': AssetBundles
I 10:01:19,638 S------ ~Mai: Registered 716 asset bundles from: AssetBundles
I 10:01:19,638 S------ ~Mai: Registering assets bundle dir for mod 'COI-CoreData': AssetBundles
I 10:01:19,638 S------ ~Mai: Registering assets bundle dir for mod 'COI-CoreUnity': AssetBundles
I 10:01:20,612 S------ ~Mai: [0 ms] Unloading scene...
I 10:01:21,210 S------ ~Mai: Game was initialized in 1 steps and took 0,592 seconds to complete.
I 10:02:07,445 S------ ~Mai: Save was created in game version 0.8.5, save format version 315.
I 10:02:25,945 S------ ~Mai: [65300 ms] Unloading scene...
I 10:02:25,976 S------ ~Mai: [30,6 ms] Terminated current scene...
I 10:02:25,986 S------ ~Mai: Scene clean step
I 10:02:26,020 S------ ~Mai: Scene clean done
I 10:02:26,028 S------ ~Mai: Total memory: 29 MB, GC collected 6 MB in 8,6244 ms.
I 10:02:26,032 S------ ~Mai: Loading save file '%WinAppDataRoaming%Captain of Industry_Saves_All in one Mod MAP_Save 2026-05-25, 17-48- 07 mit Mods'
I 10:02:26,183 S------ ~Mai: Loading 'C:\Program Files (x86)\Steam\steamapps\common\Captain of Industry\DLCs\Mafi.TrainsDlc\Mafi.TrainsDlc.dll'.
I 10:02:26,186 S------ ~Mai: Assembly loaded: Mafi.TrainsDlc, Version=0.8.6.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,194 S------ ~Mai: Loading 'C:\Program Files (x86)\Steam\steamapps\common\Captain of Industry\DLCs\Mafi.TrainsDlc\Mafi.TrainsDlc.Unity.dll'.
I 10:02:26,195 S------ ~Mai: Assembly loaded: Mafi.TrainsDlc.Unity, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,199 S------ ~Mai: Mod 'COI-TrainsDlc' loaded, found IMod types: TrainsDlcMod
I 10:02:26,200 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\AutoForestryDesignations\0Harmony.dll'.
I 10:02:26,202 S------ ~Mai: Assembly loaded: 0Harmony, Version=2.3.3.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,259 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\AutoForestryDesignations\AutoForestryDesignations.dll'.
I 10:02:26,260 S------ ~Mai: Assembly loaded: AutoForestryDesignations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,270 S------ ~Mai: Mod 'AutoForestryDesignations' loaded, found IMod types: AutoForestryDesignationsMod
I 10:02:26,270 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\AutoTerrainDesignations\0Harmony.dll'.
I 10:02:26,289 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\AutoTerrainDesignations\AutoTerrainDesignations.dll'.
I 10:02:26,291 S------ ~Mai: Assembly loaded: AutoTerrainDesignations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,313 S------ ~Mai: Mod 'AutoTerrainDesignations' loaded, found IMod types: AutoTerrainDesignationsMod
I 10:02:26,313 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\BlueprintProductsInfo\0Harmony.dll'.
I 10:02:26,331 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\BlueprintProductsInfo\BlueprintProductsInfo.dll'.
I 10:02:26,332 S------ ~Mai: Assembly loaded: BlueprintProductsInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,334 S------ ~Mai: Mod 'BlueprintProductsInfo' loaded, found IMod types: BlueprintProductsInfoMod
I 10:02:26,335 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\CargoHelicopter\0Harmony.dll'.
I 10:02:26,351 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\CargoHelicopter\CargoHelicopter.dll'.
I 10:02:26,356 S------ ~Mai: Assembly loaded: CargoHelicopter, Version=0.18.0.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,363 S------ ~Mai: Mod 'CargoHelicopter' loaded, found IMod types: CargoHelicopterMod
I 10:02:26,363 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\OnDemandContracts\Newtonsoft.Json.dll'.
I 10:02:26,365 S------ ~Mai: Assembly loaded: Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
I 10:02:26,367 S------ ~Mai: Assembly loaded: netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
I 10:02:26,383 S------ ~Mai: Assembly loaded: System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
I 10:02:26,386 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\OnDemandContracts\0Harmony.dll'.
I 10:02:26,407 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\OnDemandContracts\OnDemandContracts.dll'.
I 10:02:26,409 S------ ~Mai: Assembly loaded: OnDemandContracts, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,413 S------ ~Mai: Mod 'OnDemandContracts' loaded, found IMod types: OnDemandContractsMod
I 10:02:26,413 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\ResearchQueue\ResearchQueue.dll'.
I 10:02:26,414 S------ ~Mai: Assembly loaded: ResearchQueue, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,416 S------ ~Mai: Mod 'ResearchQueue' loaded, found IMod types: ResearchQueueMod
I 10:02:26,417 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\gameplay-plus-plus\0Harmony.dll'.
I 10:02:26,433 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\gameplay-plus-plus\Gameplay++.dll'.
I 10:02:26,456 S------ ~Mai: Assembly loaded: Gameplay++, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,474 S------ ~Mai: Mod 'gameplay-plus-plus' loaded, found IMod types: GameplayPPMod
I 10:02:26,474 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\tweaks-plus-plus\0Harmony.dll'.
I 10:02:26,496 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\tweaks-plus-plus\Tweaks++.dll'.
I 10:02:26,497 S------ ~Mai: Assembly loaded: Tweaks++, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,507 S------ ~Mai: Mod 'tweaks-plus-plus' loaded, found IMod types: TweaksPPMod
I 10:02:26,507 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\worldgen-plus-plus\0Harmony.dll'.
I 10:02:26,524 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\worldgen-plus-plus\WorldGen++.dll'.
I 10:02:26,525 S------ ~Mai: Assembly loaded: WorldGen++, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
I 10:02:26,533 S------ ~Mai: Mod 'worldgen-plus-plus' loaded, found IMod types: WorldGenPPMod
I 10:02:26,535 S------ ~Mai: Save was created in game version 0.8.5, save format version 315.
I 10:02:26,628 S------ ~Mai: Configs instantiated: GameDifficultyConfig, TutorialsConfig, RandomSeedConfig, StartingLocationConfig, CoreModConfig, TrainsPathFindingManagerConfig, ShipsPathFindingManagerConfig, MaintenanceConfig, ElectricityConfig, BaseModConfig, TrainsPathFinderConfig, TerrainManagerConfig, TerrainGeneratorV2Config, StartingFactoryConfig, UnityModConfig, ModJsonConfig, ModJsonConfig, ModJsonConfig, ModJsonConfig, ModJsonConfig
I 10:02:26,664 S------ ~Mai: [CargoHelicopter] runtime build CONFIGURABLE-ECONOMY asm=0.18.0.0
I 10:02:27,127 S------ ~Mai: ResearchQueue: constructed
I 10:02:27,168 S------ ~Mai: Registered 32 asset bundles from: C:\Program Files (x86)\Steam\steamapps\common\Captain of Industry\DLCs\Mafi.TrainsDlc\AssetBundles
I 10:02:27,175 S------ ~Mai: Registered 8 asset bundles from: C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\CargoHelicopter\AssetBundles
I 10:02:34,268 S------ ~Mai: [8240 ms] Instantiated mods.
I 10:02:34,378 S------ ~Mai: Registered 0 products from assembly 'Mafi.Base'.
I 10:02:34,402 S------ ~Mai: Registered 227 products declared in 'Products'.
I 10:02:39,402 S------ ~Mai: [CargoHelicopter] economy config: fuel x1, capacity x1, buildTime x1, T1 100 kW, T2 500 kW
I 10:02:39,408 S------ ~Mai: [CargoHelicopter] registered 3 helicopter tiers (40/90/180; heliport-only production)
I 10:02:39,410 S------ ~Mai: [CargoHelicopter] economy config: fuel x1, capacity x1, buildTime x1, T1 100 kW, T2 500 kW
I 10:02:39,465 S------ ~Mai: [CargoHelicopter] open heliports registered (T1 20 stands / T2 40 stands, 3/3 helicopter tiers)
I 10:02:39,472 S------ ~Mai: [CargoHelicopter] legacy HeliportComplex prototype registered for 0.8.x save compatibility
I 10:02:39,472 S------ ~Mai: [CargoHelicopter] prototypes registered (helicopters + heliport + legacy compat)
I 10:02:39,582 S------ ~Mai: [On-Demand Contracts] Added contract 'Kupfererztausch' to Settlement1
I 10:02:39,583 S------ ~Mai: ResearchQueue: RegisterPrototypes called
A 10:02:40,137 S------ ~Mai: Value of int is -9, expected not negative.
at Mafi.Core.Research.ResearchNodeProto..ctor (Mafi.Core.Research.ResearchNodeProto+ID id, Mafi.Core.Prototypes.Proto+Str strings, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] parents, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] units, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] unlockingConditions, System.Int32 maxResearchCount, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] propertiesPerIncrement, Mafi.Duration researchDuration, System.Int32 spacePointsRequiredFromLevel, Mafi.Vector2i gridPosition, System.Boolean anyParentCanUnlock, Mafi.Core.Research.ResearchNodeProto+Gfx graphics, Mafi.Core.Research.ResearchNodeProto+CostPerLevelFunc costFn, Mafi.Core.Research.ResearchNodeProto+DescPerTimesDoneFunc descPerTimesDoneFn) [0x00000]
at Mafi.Core.Research.ResearchNodeProtoBuilder+State.BuildAndAdd () [0x00000]
at GameplayPP.SteamHeaterData.RegisterData (Mafi.Core.Mods.ProtoRegistrator registrator) [0x00000]
at Mafi.Core.Mods.ProtoRegistrator.RegisterData (Mafi.Core.Mods.IModData dataClass) [0x00000]
at Mafi.Core.Mods.ProtoRegistrator.RegisterData[TData] (System.Action1[T] config) [0x00000] at GameplayPP.GameplayPPMod.RegisterPrototypes (Mafi.Core.Mods.ProtoRegistrator registrator) [0x00000] at Mafi.Core.Game.GameBuilder.RegisterModsPrototypes (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] mods, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Core.Mods.ProtoRegistrator protoRegistrator, System.Boolean throwOnError) [0x00000] at Mafi.Core.Game.GameBuilder.RegisterModsPrototypes (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] mods, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] configs, Mafi.Core.Prototypes.ProtosDb protosDb, Mafi.Core.Entities.Static.Layout.IEntityLayoutParser entityLayoutParser, System.Boolean throwOnError, System.Action2[T1,T2] protosDbRegFnBeforeMods, System.Action2[T1,T2] protosDbRegFnAfterMods, System.Collections.Generic.IEnumerable1[T] ignoredDataClassTypes) [0x00000] at Mafi.Core.Game.GameBuilder+&lt;BuildLoadedGameTimeSliced>d__1.MoveNext () [0x00000] at Mafi.Unity.GamePlayScene+&lt;loadGame>d__28.MoveNext () [0x00000] I 10:02:41,976 S------ ~Mai: [7710 ms] Loading data (objs: 35, delayed: 0) Stuck count 0 I 10:02:42,091 S------ ~Mai: [114 ms] Loading data (objs: 91, delayed: 55) Stuck count 0 I 10:02:42,193 S------ ~Mai: [102 ms] Loading data (objs: 149, delayed: 113) Stuck count 0 I 10:02:42,396 S------ ~Mai: [204 ms] Delayed deserialization: 478 remaining, just finished 'TerrainDisruptionSimulator' I 10:02:43,259 S------ ~Mai: [863 ms] Delayed deserialization: 485 remaining, just finished 'TerrainManager' I 10:02:43,362 S------ ~Mai: [103 ms] Delayed deserialization: 862 remaining, just finished 'FuelStatsCollector' X 10:02:43,409 S------ ~Mai: CorruptedSaveException thrown during game initialization. ---> CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Core.Factory.ElectricPower.ElectricityManager' (type 'ElectricityManager') parent object '--' (type '--') Previous deserialized in this finalize call: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory') Last deserialized across all finalize calls: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory') Last read object types: [ProductionPerProto[], ElectricityGeneratorFromProductProto, ElectricityAvgStats] at Mafi.Serialization.BlobReader+&lt;FinalizeLoadingTimeSliced>d__37.MoveNext () [0x00202] at Mafi.Core.SaveGame.GameLoader+&lt;FinishGameLoadAndDisposeTimeSliced>d__12.MoveNext () [0x004ef] at Mafi.Core.Game.GameBuilder+&lt;BuildLoadedGameTimeSliced>d__1.MoveNext () [0x005a4] at Mafi.Unity.GamePlayScene+&lt;loadGame>d__28.MoveNext () [0x002ca] at Mafi.Unity.GamePlayScene+&lt;Initialize>d__25.MoveNext () [0x000ad] at Mafi.Unity.Main+&lt;unloadAndStartNewScene>d__116.MoveNext () [0x0013b] at Mafi.Unity.Main.stepSceneInitialization () [0x00104] ---> CorruptedSaveException: Failed to load type from 'FGWYSeaWaterPower.Entities.SeawaterPowerGeneratorProto, FGWYSeaWaterPower, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at Mafi.Serialization.BlobReader.ReadTypeFromStrNoRef () [0x0004f] at Mafi.Serialization.BlobReader.ReadType (System.Boolean allowNulls) [0x00085] at Mafi.Serialization.DynamicDispatchClassSerializer1[T].<.ctor>b__11_1 (Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader.ReadGenericAs[T] () [0x00032]
at Mafi.Core.Factory.ElectricPower.ElectricityManager+ProductionPerProto.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000]
at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,Mafi.Serialization.BlobReader)
at (wrapper delegate-invoke) <Module>.invoke_bound_ElectricityManager/ProductionPerProto_Closure_BlobReader(Mafi.Serialization.BlobReader)
at Mafi.Serialization.BlobReader.ReadArray[T] (System.Int32 length) [0x0004d]
at Mafi.Collections.LystStruct`1[T].Deserialize (Mafi.Serialization.BlobReader reader) [0x00024]
at Mafi.Core.Factory.ElectricPower.ElectricityManager.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00116]
I 10:02:43,420 S------ ~Mai: [57,0 ms] Unloading scene...
W 10:02:43,431 S------ ~Mai: No game runner, already terminated?
at Mafi.Unity.GamePlayScene.Terminate () [0x00000]
at Mafi.Unity.Main.terminateCurrentScene () [0x00000]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__116.MoveNext () [0x00000]
at Mafi.Unity.Main.stepSceneInitialization () [0x00000]
at Mafi.Unity.Main.Update () [0x00000]
at Mafi.UnityCore.GameMainMb.Update () [0x00000]
W 10:02:43,431 S------ ~Mai: No resolver, already terminated?
at Mafi.Unity.GamePlayScene.Terminate () [0x00000]
at Mafi.Unity.Main.terminateCurrentScene () [0x00000]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__116.MoveNext () [0x00000]
at Mafi.Unity.Main.stepSceneInitialization () [0x00000]
at Mafi.Unity.Main.Update () [0x00000]
at Mafi.UnityCore.GameMainMb.Update () [0x00000]
I 10:02:43,444 S------ ~Mai: [24,6 ms] Terminated current scene...
I 10:02:43,466 S------ ~Mai: Scene clean step
I 10:02:43,780 S------ ~Mai: Scene clean done
I 10:02:43,827 S------ ~Mai: Total memory: 272 MB, GC collected 54 MB in 47,8759 ms.
E 10:02:43,890 S------ ~Mai: 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 finalize deserialization of 'Mafi.Core.Factory.ElectricPower.ElectricityManager' (type 'ElectricityManager')
parent object '--' (type '--')
Previous deserialized in this finalize call: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory')
Last deserialized across all finalize calls: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory')
Last read object types: [ProductionPerProto[], ElectricityGeneratorFromProductProto, ElectricityAvgStats] ---> Mafi.Serialization.CorruptedSaveException: Failed to load type from 'FGWYSeaWaterPower.Entities.SeawaterPowerGeneratorProto, FGWYSeaWaterPower, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at Mafi.Serialization.BlobReader.ReadTypeFromStrNoRef () [0x0004f]
at Mafi.Serialization.BlobReader.ReadType (System.Boolean allowNulls) [0x00085]
at Mafi.Serialization.DynamicDispatchClassSerializer1[T].<.ctor>b__11_1 (Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Serialization.BlobReader.ReadGenericAs[T] () [0x00032] at Mafi.Core.Factory.ElectricPower.ElectricityManager+ProductionPerProto.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000] at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,Mafi.Serialization.BlobReader) at (wrapper delegate-invoke) &lt;Module>.invoke_bound_ElectricityManager/ProductionPerProto_Closure_BlobReader(Mafi.Serialization.BlobReader) at Mafi.Serialization.BlobReader.ReadArray[T] (System.Int32 length) [0x0004d] at Mafi.Collections.LystStruct1[T].Deserialize (Mafi.Serialization.BlobReader reader) [0x00024]
at Mafi.Core.Factory.ElectricPower.ElectricityManager.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00116]
at Mafi.Core.Factory.ElectricPower.ElectricityManager+<>c.<.cctor>b__101_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.MoveNext () [0x00054]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.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__116.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x00104]

Game version: 0.8.6a
Loaded mods: (Trains expansion 1.0.0), (Kayser's Automatic Forestry Designations 0.1.11), (Kayser's Automatic Terrain Designations 0.5.2), (Blueprint Products Info 1.0.0), (Cargo Helicopter 0.18.0), (On-Demand Contracts 0.2.3), (Research Queue 1.0.1), (Gameplay++ 1.2.7), (Tweaks++ 1.2.0), (WorldGen++ 1.1.1)
Failed mods: none

at Mafi.Unity.MainMenu.GameStartFailWindow..ctor (Mafi.Unity.IMain main, Mafi.Localization.LocStrFormatted title, Mafi.Unity.MainMenu.GameInitFailInfo failInfo) [0x00000]
at Mafi.Unity.MainMenu.MainMenuController.OpenGameInitFailWindow (Mafi.Unity.IMain main, Mafi.Unity.MainMenu.GameInitFailInfo failInfo) [0x00000]
at Mafi.Unity.MainMenu.MainMenuScene+<Initialize>d__14.MoveNext () [0x00000]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__116.MoveNext () [0x00000]
at Mafi.Unity.Main.stepSceneInitialization () [0x00000]
at Mafi.Unity.Main.Update () [0x00000]
at Mafi.UnityCore.GameMainMb.Update () [0x00000]

Originally posted in German
Problem mit Mod beim Spielstand laden
### Issue description 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 finalize deserialization of 'Mafi.Core.Factory.ElectricPower.ElectricityManager' (type 'ElectricityManager') parent object '--' (type '--') Previous deserialized in this finalize call: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory') Last deserialized across all finalize calls: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory') Last read object types: [ProductionPerProto[], ElectricityGeneratorFromProductProto, ElectricityAvgStats] ---> Mafi.Serialization.CorruptedSaveException: Failed to load type from 'FGWYSeaWaterPower.Entities.SeawaterPowerGeneratorProto, FGWYSeaWaterPower, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at Mafi.Serialization.BlobReader.ReadTypeFromStrNoRef () [0x0004f] at Mafi.Serialization.BlobReader.ReadType (System.Boolean allowNulls) [0x00085] at Mafi.Serialization.DynamicDispatchClassSerializer`1[T].<.ctor>b__11_1 (Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Serialization.BlobReader.ReadGenericAs[T] () [0x00032] at Mafi.Core.Factory.ElectricPower.ElectricityManager+ProductionPerProto.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000] at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,Mafi.Serialization.BlobReader) at (wrapper delegate-invoke) <Module>.invoke_bound_ElectricityManager/ProductionPerProto_Closure_BlobReader(Mafi.Serialization.BlobReader) at Mafi.Serialization.BlobReader.ReadArray[T] (System.Int32 length) [0x0004d] at Mafi.Collections.LystStruct`1[T].Deserialize (Mafi.Serialization.BlobReader reader) [0x00024] at Mafi.Core.Factory.ElectricPower.ElectricityManager.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00116] at Mafi.Core.Factory.ElectricPower.ElectricityManager+<>c.<.cctor>b__101_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.MoveNext () [0x00054] --- End of inner exception stack trace --- at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.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__116.MoveNext () [0x0013b] at Mafi.Unity.Main.stepSceneInitialization () [0x00104] Game version: 0.8.6a Loaded mods: (Trains expansion 1.0.0), (Kayser's Automatic Forestry Designations 0.1.11), (Kayser's Automatic Terrain Designations 0.5.2), (Blueprint Products Info 1.0.0), (Cargo Helicopter 0.18.0), (On-Demand Contracts 0.2.3), (Research Queue 1.0.1), (Gameplay++ 1.2.7), (Tweaks++ 1.2.0), (WorldGen++ 1.1.1) Failed mods: none ### Reproduction steps Beim Laden des Spielstandes wird das Problem angezeigt. Dazu wird auch der Spielstand beschädigt. Durch diesen Mod. ### Game version and build number v0.8.6a b610 ### Operating system Windows ### Attachments I 10:01:15,760 S------ ~Mai: Started logging to file I 10:01:16,014 S------ ~Mai: Started logging to graylog I 10:01:16,016 S------ ~Mai: Staring game (standalone) ... I 10:01:16,055 S------ ~Mai: UTC now: 2026.07.21 08:01:16 G 10:01:16,056 S------ ~Mai: Build: 610, v0.8.6a (Update 4) I 10:01:16,058 S------ ~Mai: Current culture: de-DE I 10:01:16,059 S------ ~Mai: Platform: 2 I 10:01:16,062 S------ ~Mai: Screen: 1920 x 1080 @ 75 Hz I 10:01:16,294 S------ ~Mai: Steam client connected I 10:01:16,375 S------ ~Mai: Language 'Deutsch' loaded I 10:01:16,755 S------ ~Mai: Loading available mods from 'C:\Program Files (x86)\Steam\steamapps\common\Captain of Industry\DLCs'. I 10:01:16,775 S------ ~Mai: Loaded 1 DLCs: COI-TrainsDlc v1.0.0 I 10:01:16,775 S------ ~Mai: Loading available mods from 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods'. I 10:01:16,783 S------ ~Mai: Found 9 mods AutoForestryDesignations vAutoForestryDesignations AutoTerrainDesignations vAutoTerrainDesignations BlueprintProductsInfo vBlueprintProductsInfo CargoHelicopter vCargoHelicopter gameplay-plus-plus vgameplay-plus-plus OnDemandContracts vOnDemandContracts ResearchQueue vResearchQueue tweaks-plus-plus vtweaks-plus-plus worldgen-plus-plus vworldgen-plus-plus I 10:01:17,222 S------ ~Mai: Registering assets bundle dir for mod 'COI-Core': AssetBundles I 10:01:19,638 S------ ~Mai: Registered 716 asset bundles from: AssetBundles I 10:01:19,638 S------ ~Mai: Registering assets bundle dir for mod 'COI-CoreData': AssetBundles I 10:01:19,638 S------ ~Mai: Registering assets bundle dir for mod 'COI-CoreUnity': AssetBundles I 10:01:20,612 S------ ~Mai: [0 ms] Unloading scene... I 10:01:21,210 S------ ~Mai: Game was initialized in 1 steps and took 0,592 seconds to complete. I 10:02:07,445 S------ ~Mai: Save was created in game version 0.8.5, save format version 315. I 10:02:25,945 S------ ~Mai: [65300 ms] Unloading scene... I 10:02:25,976 S------ ~Mai: [30,6 ms] Terminated current scene... I 10:02:25,986 S------ ~Mai: Scene clean step I 10:02:26,020 S------ ~Mai: Scene clean done I 10:02:26,028 S------ ~Mai: Total memory: 29 MB, GC collected 6 MB in 8,6244 ms. I 10:02:26,032 S------ ~Mai: Loading save file '%WinAppDataRoaming%Captain of Industry_Saves_All in one Mod MAP_Save 2026-05-25, 17-48- 07 mit Mods' I 10:02:26,183 S------ ~Mai: Loading 'C:\Program Files (x86)\Steam\steamapps\common\Captain of Industry\DLCs\Mafi.TrainsDlc\Mafi.TrainsDlc.dll'. I 10:02:26,186 S------ ~Mai: Assembly loaded: Mafi.TrainsDlc, Version=0.8.6.0, Culture=neutral, PublicKeyToken=null I 10:02:26,194 S------ ~Mai: Loading 'C:\Program Files (x86)\Steam\steamapps\common\Captain of Industry\DLCs\Mafi.TrainsDlc\Mafi.TrainsDlc.Unity.dll'. I 10:02:26,195 S------ ~Mai: Assembly loaded: Mafi.TrainsDlc.Unity, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null I 10:02:26,199 S------ ~Mai: Mod 'COI-TrainsDlc' loaded, found IMod types: TrainsDlcMod I 10:02:26,200 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\AutoForestryDesignations\0Harmony.dll'. I 10:02:26,202 S------ ~Mai: Assembly loaded: 0Harmony, Version=2.3.3.0, Culture=neutral, PublicKeyToken=null I 10:02:26,259 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\AutoForestryDesignations\AutoForestryDesignations.dll'. I 10:02:26,260 S------ ~Mai: Assembly loaded: AutoForestryDesignations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null I 10:02:26,270 S------ ~Mai: Mod 'AutoForestryDesignations' loaded, found IMod types: AutoForestryDesignationsMod I 10:02:26,270 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\AutoTerrainDesignations\0Harmony.dll'. I 10:02:26,289 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\AutoTerrainDesignations\AutoTerrainDesignations.dll'. I 10:02:26,291 S------ ~Mai: Assembly loaded: AutoTerrainDesignations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null I 10:02:26,313 S------ ~Mai: Mod 'AutoTerrainDesignations' loaded, found IMod types: AutoTerrainDesignationsMod I 10:02:26,313 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\BlueprintProductsInfo\0Harmony.dll'. I 10:02:26,331 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\BlueprintProductsInfo\BlueprintProductsInfo.dll'. I 10:02:26,332 S------ ~Mai: Assembly loaded: BlueprintProductsInfo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null I 10:02:26,334 S------ ~Mai: Mod 'BlueprintProductsInfo' loaded, found IMod types: BlueprintProductsInfoMod I 10:02:26,335 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\CargoHelicopter\0Harmony.dll'. I 10:02:26,351 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\CargoHelicopter\CargoHelicopter.dll'. I 10:02:26,356 S------ ~Mai: Assembly loaded: CargoHelicopter, Version=0.18.0.0, Culture=neutral, PublicKeyToken=null I 10:02:26,363 S------ ~Mai: Mod 'CargoHelicopter' loaded, found IMod types: CargoHelicopterMod I 10:02:26,363 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\OnDemandContracts\Newtonsoft.Json.dll'. I 10:02:26,365 S------ ~Mai: Assembly loaded: Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed I 10:02:26,367 S------ ~Mai: Assembly loaded: netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 I 10:02:26,383 S------ ~Mai: Assembly loaded: System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 I 10:02:26,386 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\OnDemandContracts\0Harmony.dll'. I 10:02:26,407 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\OnDemandContracts\OnDemandContracts.dll'. I 10:02:26,409 S------ ~Mai: Assembly loaded: OnDemandContracts, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null I 10:02:26,413 S------ ~Mai: Mod 'OnDemandContracts' loaded, found IMod types: OnDemandContractsMod I 10:02:26,413 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\ResearchQueue\ResearchQueue.dll'. I 10:02:26,414 S------ ~Mai: Assembly loaded: ResearchQueue, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null I 10:02:26,416 S------ ~Mai: Mod 'ResearchQueue' loaded, found IMod types: ResearchQueueMod I 10:02:26,417 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\gameplay-plus-plus\0Harmony.dll'. I 10:02:26,433 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\gameplay-plus-plus\Gameplay++.dll'. I 10:02:26,456 S------ ~Mai: Assembly loaded: Gameplay++, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null I 10:02:26,474 S------ ~Mai: Mod 'gameplay-plus-plus' loaded, found IMod types: GameplayPPMod I 10:02:26,474 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\tweaks-plus-plus\0Harmony.dll'. I 10:02:26,496 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\tweaks-plus-plus\Tweaks++.dll'. I 10:02:26,497 S------ ~Mai: Assembly loaded: Tweaks++, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null I 10:02:26,507 S------ ~Mai: Mod 'tweaks-plus-plus' loaded, found IMod types: TweaksPPMod I 10:02:26,507 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\worldgen-plus-plus\0Harmony.dll'. I 10:02:26,524 S------ ~Mai: Loading 'C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\worldgen-plus-plus\WorldGen++.dll'. I 10:02:26,525 S------ ~Mai: Assembly loaded: WorldGen++, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null I 10:02:26,533 S------ ~Mai: Mod 'worldgen-plus-plus' loaded, found IMod types: WorldGenPPMod I 10:02:26,535 S------ ~Mai: Save was created in game version 0.8.5, save format version 315. I 10:02:26,628 S------ ~Mai: Configs instantiated: GameDifficultyConfig, TutorialsConfig, RandomSeedConfig, StartingLocationConfig, CoreModConfig, TrainsPathFindingManagerConfig, ShipsPathFindingManagerConfig, MaintenanceConfig, ElectricityConfig, BaseModConfig, TrainsPathFinderConfig, TerrainManagerConfig, TerrainGeneratorV2Config, StartingFactoryConfig, UnityModConfig, ModJsonConfig, ModJsonConfig, ModJsonConfig, ModJsonConfig, ModJsonConfig I 10:02:26,664 S------ ~Mai: [CargoHelicopter] runtime build CONFIGURABLE-ECONOMY asm=0.18.0.0 I 10:02:27,127 S------ ~Mai: ResearchQueue: constructed I 10:02:27,168 S------ ~Mai: Registered 32 asset bundles from: C:\Program Files (x86)\Steam\steamapps\common\Captain of Industry\DLCs\Mafi.TrainsDlc\AssetBundles I 10:02:27,175 S------ ~Mai: Registered 8 asset bundles from: C:\Users\Renek\AppData\Roaming\Captain of Industry\Mods\CargoHelicopter\AssetBundles I 10:02:34,268 S------ ~Mai: [8240 ms] Instantiated mods. I 10:02:34,378 S------ ~Mai: Registered 0 products from assembly 'Mafi.Base'. I 10:02:34,402 S------ ~Mai: Registered 227 products declared in 'Products'. I 10:02:39,402 S------ ~Mai: [CargoHelicopter] economy config: fuel x1, capacity x1, buildTime x1, T1 100 kW, T2 500 kW I 10:02:39,408 S------ ~Mai: [CargoHelicopter] registered 3 helicopter tiers (40/90/180; heliport-only production) I 10:02:39,410 S------ ~Mai: [CargoHelicopter] economy config: fuel x1, capacity x1, buildTime x1, T1 100 kW, T2 500 kW I 10:02:39,465 S------ ~Mai: [CargoHelicopter] open heliports registered (T1 20 stands / T2 40 stands, 3/3 helicopter tiers) I 10:02:39,472 S------ ~Mai: [CargoHelicopter] legacy HeliportComplex prototype registered for 0.8.x save compatibility I 10:02:39,472 S------ ~Mai: [CargoHelicopter] prototypes registered (helicopters + heliport + legacy compat) I 10:02:39,582 S------ ~Mai: [On-Demand Contracts] Added contract 'Kupfererztausch' to Settlement1 I 10:02:39,583 S------ ~Mai: ResearchQueue: RegisterPrototypes called A 10:02:40,137 S------ ~Mai: Value of int is -9, expected not negative. at Mafi.Core.Research.ResearchNodeProto..ctor (Mafi.Core.Research.ResearchNodeProto+ID id, Mafi.Core.Prototypes.Proto+Str strings, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] parents, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] units, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] unlockingConditions, System.Int32 maxResearchCount, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] propertiesPerIncrement, Mafi.Duration researchDuration, System.Int32 spacePointsRequiredFromLevel, Mafi.Vector2i gridPosition, System.Boolean anyParentCanUnlock, Mafi.Core.Research.ResearchNodeProto+Gfx graphics, Mafi.Core.Research.ResearchNodeProto+CostPerLevelFunc costFn, Mafi.Core.Research.ResearchNodeProto+DescPerTimesDoneFunc descPerTimesDoneFn) [0x00000] at Mafi.Core.Research.ResearchNodeProtoBuilder+State.BuildAndAdd () [0x00000] at GameplayPP.SteamHeaterData.RegisterData (Mafi.Core.Mods.ProtoRegistrator registrator) [0x00000] at Mafi.Core.Mods.ProtoRegistrator.RegisterData (Mafi.Core.Mods.IModData dataClass) [0x00000] at Mafi.Core.Mods.ProtoRegistrator.RegisterData[TData] (System.Action`1[T] config) [0x00000] at GameplayPP.GameplayPPMod.RegisterPrototypes (Mafi.Core.Mods.ProtoRegistrator registrator) [0x00000] at Mafi.Core.Game.GameBuilder.RegisterModsPrototypes (Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] mods, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] modsData, Mafi.Core.Mods.ProtoRegistrator protoRegistrator, System.Boolean throwOnError) [0x00000] at Mafi.Core.Game.GameBuilder.RegisterModsPrototypes (Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] mods, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] configs, Mafi.Core.Prototypes.ProtosDb protosDb, Mafi.Core.Entities.Static.Layout.IEntityLayoutParser entityLayoutParser, System.Boolean throwOnError, System.Action`2[T1,T2] protosDbRegFnBeforeMods, System.Action`2[T1,T2] protosDbRegFnAfterMods, System.Collections.Generic.IEnumerable`1[T] ignoredDataClassTypes) [0x00000] at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x00000] at Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x00000] I 10:02:41,976 S------ ~Mai: [7710 ms] Loading data (objs: 35, delayed: 0) Stuck count 0 I 10:02:42,091 S------ ~Mai: [114 ms] Loading data (objs: 91, delayed: 55) Stuck count 0 I 10:02:42,193 S------ ~Mai: [102 ms] Loading data (objs: 149, delayed: 113) Stuck count 0 I 10:02:42,396 S------ ~Mai: [204 ms] Delayed deserialization: 478 remaining, just finished 'TerrainDisruptionSimulator' I 10:02:43,259 S------ ~Mai: [863 ms] Delayed deserialization: 485 remaining, just finished 'TerrainManager' I 10:02:43,362 S------ ~Mai: [103 ms] Delayed deserialization: 862 remaining, just finished 'FuelStatsCollector' X 10:02:43,409 S------ ~Mai: CorruptedSaveException thrown during game initialization. ---> CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Core.Factory.ElectricPower.ElectricityManager' (type 'ElectricityManager') parent object '--' (type '--') Previous deserialized in this finalize call: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory') Last deserialized across all finalize calls: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory') Last read object types: [ProductionPerProto[], ElectricityGeneratorFromProductProto, ElectricityAvgStats] at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.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__116.MoveNext () [0x0013b] at Mafi.Unity.Main.stepSceneInitialization () [0x00104] ---> CorruptedSaveException: Failed to load type from 'FGWYSeaWaterPower.Entities.SeawaterPowerGeneratorProto, FGWYSeaWaterPower, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at Mafi.Serialization.BlobReader.ReadTypeFromStrNoRef () [0x0004f] at Mafi.Serialization.BlobReader.ReadType (System.Boolean allowNulls) [0x00085] at Mafi.Serialization.DynamicDispatchClassSerializer`1[T].<.ctor>b__11_1 (Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Serialization.BlobReader.ReadGenericAs[T] () [0x00032] at Mafi.Core.Factory.ElectricPower.ElectricityManager+ProductionPerProto.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000] at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,Mafi.Serialization.BlobReader) at (wrapper delegate-invoke) <Module>.invoke_bound_ElectricityManager/ProductionPerProto_Closure_BlobReader(Mafi.Serialization.BlobReader) at Mafi.Serialization.BlobReader.ReadArray[T] (System.Int32 length) [0x0004d] at Mafi.Collections.LystStruct`1[T].Deserialize (Mafi.Serialization.BlobReader reader) [0x00024] at Mafi.Core.Factory.ElectricPower.ElectricityManager.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00116] I 10:02:43,420 S------ ~Mai: [57,0 ms] Unloading scene... W 10:02:43,431 S------ ~Mai: No game runner, already terminated? at Mafi.Unity.GamePlayScene.Terminate () [0x00000] at Mafi.Unity.Main.terminateCurrentScene () [0x00000] at Mafi.Unity.Main+<unloadAndStartNewScene>d__116.MoveNext () [0x00000] at Mafi.Unity.Main.stepSceneInitialization () [0x00000] at Mafi.Unity.Main.Update () [0x00000] at Mafi.UnityCore.GameMainMb.Update () [0x00000] W 10:02:43,431 S------ ~Mai: No resolver, already terminated? at Mafi.Unity.GamePlayScene.Terminate () [0x00000] at Mafi.Unity.Main.terminateCurrentScene () [0x00000] at Mafi.Unity.Main+<unloadAndStartNewScene>d__116.MoveNext () [0x00000] at Mafi.Unity.Main.stepSceneInitialization () [0x00000] at Mafi.Unity.Main.Update () [0x00000] at Mafi.UnityCore.GameMainMb.Update () [0x00000] I 10:02:43,444 S------ ~Mai: [24,6 ms] Terminated current scene... I 10:02:43,466 S------ ~Mai: Scene clean step I 10:02:43,780 S------ ~Mai: Scene clean done I 10:02:43,827 S------ ~Mai: Total memory: 272 MB, GC collected 54 MB in 47,8759 ms. E 10:02:43,890 S------ ~Mai: 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 finalize deserialization of 'Mafi.Core.Factory.ElectricPower.ElectricityManager' (type 'ElectricityManager') parent object '--' (type '--') Previous deserialized in this finalize call: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory') Last deserialized across all finalize calls: 'Mafi.Core.Factory.ComputingPower.ComputingConsumerFactory' (type 'ComputingConsumerFactory') Last read object types: [ProductionPerProto[], ElectricityGeneratorFromProductProto, ElectricityAvgStats] ---> Mafi.Serialization.CorruptedSaveException: Failed to load type from 'FGWYSeaWaterPower.Entities.SeawaterPowerGeneratorProto, FGWYSeaWaterPower, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. at Mafi.Serialization.BlobReader.ReadTypeFromStrNoRef () [0x0004f] at Mafi.Serialization.BlobReader.ReadType (System.Boolean allowNulls) [0x00085] at Mafi.Serialization.DynamicDispatchClassSerializer`1[T].<.ctor>b__11_1 (Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Serialization.BlobReader.ReadGenericAs[T] () [0x00032] at Mafi.Core.Factory.ElectricPower.ElectricityManager+ProductionPerProto.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000] at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,Mafi.Serialization.BlobReader) at (wrapper delegate-invoke) <Module>.invoke_bound_ElectricityManager/ProductionPerProto_Closure_BlobReader(Mafi.Serialization.BlobReader) at Mafi.Serialization.BlobReader.ReadArray[T] (System.Int32 length) [0x0004d] at Mafi.Collections.LystStruct`1[T].Deserialize (Mafi.Serialization.BlobReader reader) [0x00024] at Mafi.Core.Factory.ElectricPower.ElectricityManager.DeserializeData (Mafi.Serialization.BlobReader reader) [0x00116] at Mafi.Core.Factory.ElectricPower.ElectricityManager+<>c.<.cctor>b__101_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000] at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.MoveNext () [0x00054] --- End of inner exception stack trace --- at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__37.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__116.MoveNext () [0x0013b] at Mafi.Unity.Main.stepSceneInitialization () [0x00104] Game version: 0.8.6a Loaded mods: (Trains expansion 1.0.0), (Kayser's Automatic Forestry Designations 0.1.11), (Kayser's Automatic Terrain Designations 0.5.2), (Blueprint Products Info 1.0.0), (Cargo Helicopter 0.18.0), (On-Demand Contracts 0.2.3), (Research Queue 1.0.1), (Gameplay++ 1.2.7), (Tweaks++ 1.2.0), (WorldGen++ 1.1.1) Failed mods: none at Mafi.Unity.MainMenu.GameStartFailWindow..ctor (Mafi.Unity.IMain main, Mafi.Localization.LocStrFormatted title, Mafi.Unity.MainMenu.GameInitFailInfo failInfo) [0x00000] at Mafi.Unity.MainMenu.MainMenuController.OpenGameInitFailWindow (Mafi.Unity.IMain main, Mafi.Unity.MainMenu.GameInitFailInfo failInfo) [0x00000] at Mafi.Unity.MainMenu.MainMenuScene+<Initialize>d__14.MoveNext () [0x00000] at Mafi.Unity.Main+<unloadAndStartNewScene>d__116.MoveNext () [0x00000] at Mafi.Unity.Main.stepSceneInitialization () [0x00000] at Mafi.Unity.Main.Update () [0x00000] at Mafi.UnityCore.GameMainMb.Update () [0x00000]
poltime poltime · 3 months ago

While the game is in development, don't use any third-party mods so as not to have such problems.

rkrause5115-source [github] · 3 months ago

Is there any way I can now bypass the need for the mod to load the save
file?

Mit freundlichen Grüßen

René Krause

poltime @.***> schrieb am Di., 21. Juli 2026, 13:45:

poltime left a comment (MaFi-Games/Captain-of-Industry-issues#2705)
Problem mit Mod beim Spielstand laden

While the game is in development, don't use any third-party mods so as not
to have such problems.

—
Reply to this email directly, view it on GitHub
Problem mit Mod beim Spielstand laden,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/CJJ22NCMUC7YQ5THQG7D4KT5F5JVFAVCNFSNUABFKJSXA33TNF2G64TZHM2DAMRZG4YTQOJVHNEXG43VMU5TIOJTGY4DEOBZHA3KC5QC
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
https://github.com/notifications/mobile/ios/CJJ22NGOEH4HNUUUICOAJ5L5F5JVFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBTGM2TENZQGIZKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG
and Android
https://github.com/notifications/mobile/android/CJJ22NHRFU5Z24NFPN6BKTT5F5JVFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBTGM2TENZQGIZKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA.
Download it today!
You are receiving this because you authored the thread.Message ID:
@.***>

poltime poltime · 3 months ago

This error is caused by a missing or inactive mod called FGWYSeaWaterPower.
Reinstall the Missing Mod: Download and reinstall the FGWYSeaWaterPower Mod. Ensure the extracted folder is placed back into your game's directory: %APPDATA%\Captain of Industry\Mods. Update the Mod: If you already have the mod installed, it may be outdated after a recent game update. Check for an updated version compatible with your current game patch. Load an Older Save: If you purposely removed the mod, you must load a previous save file created before you built or researched any entities from the Seawater Power Station mod.

Closed as 🗑️ Won't fix

11 Showing 1–5 of 5