Update 4 broke save

Saves & Loading
cpitton [github] · 7 months ago

Issue description

Played yesterday just fine. Loaded the save today and got the following error:

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 'Mafi.Core.Prototypes.UnlockedProtosDb' (type 'UnlockedProtosDb')
parent object '--' (type '--')
Previous deserialized object: 'Mafi.Core.GameLoop.GameLoopEvents' (type 'GameLoopEvents') ---> Mafi.Serialization.CorruptedSaveException: Deserialized object has type 'MineTowersManager' but type 'Event' was expected. ToString returned 'Mafi.Core.Buildings.Mine.MineTowersManager'.
at Mafi.Serialization.BlobReader.TryStartClassDeserialization[T] (T& obj, System.Func3[T1,T2,TResult] customNewObjFactory, System.Func3[T1,T2,TResult] customNewObjFactoryOnTypeLoadFail, System.Boolean nullObjIsOk) [0x000c1]
at Mafi.Event.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Core.Prototypes.UnlockedProtosDb.DeserializeData (Mafi.Serialization.BlobReader reader) [0x0002d]
at Mafi.Core.Prototypes.UnlockedProtosDb+<>c.<.cctor>b__33_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__35.MoveNext () [0x00054]
--- End of inner exception stack trace ---
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__35.MoveNext () [0x00160]
at Mafi.Core.SaveGame.GameLoader+<FinishGameLoadAndDisposeTimeSliced>d__12.MoveNext () [0x004c2]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x004e2]
at Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x0029d]
at Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__108.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x000fd]

Game version: 0.8.0
Loaded mods: none
Failed mods: none

Reproduction steps

loading any of the saves for this map fail

Game version and build number

v0.8.0 b548

Operating system

Windows

cpitton [github] · 7 months ago

26-03-10_01-12-autosave.save

1 attachment only for registered users
cpitton [github] · 7 months ago

Hey I attached a save file

On Mon, Mar 9, 2026 at 10:40 PM poltime @.***> wrote:

poltime left a comment (MaFi-Games/Captain-of-Industry-issues#2409)
Update 4 broke save

You should attach a save file.

—
Reply to this email directly, view it on GitHub
Update 4 broke save,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASBCT7HLNSNI7CKEGUWS2UD4P56A7AVCNFSM6AAAAACWMQ3YQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DAMRYGIYTAOBVGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

poltime poltime · 7 months ago

Check the system SSD/HDD and RAM for errors.

cpitton [github] · 7 months ago

No hardware errors on my end. I rolled back to update 3 and was able to
load the save with no issues

On Mon, Mar 16, 2026 at 3:38 PM poltime @.***> wrote:

poltime left a comment (MaFi-Games/Captain-of-Industry-issues#2409)
Update 4 broke save

Check the system SSD/HDD and RAM for errors.

—
Reply to this email directly, view it on GitHub
Update 4 broke save,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASBCT7GM2QNPXOP3ZGBZPKT4RBJ3BAVCNFSM6AAAAACWMQ3YQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DANZQGEYTCNRZHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

24 Showing 1–6 of 6