Issue description
I played on the pirated version of this game, I really liked it and decided to support you. So, the pirate had all the dlc. And I don't have any dlc yet. Saving is not loaded without dlc. Please fix it. I'll buy the dlc later, I promise :) Thank you for a great game!
Reproduction steps
- I upload the save file.
- A window pops up with the following content:
---> CorruptedSaveException: Deserialized object has type 'CargoDepotManager' but type 'Event' was expected. ToString returned 'Mafi.Core.Buildings.Cargo.Modules.CargoDepotManager'. classId: 82, readObjects.Count: 100
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: [EntityPollutionTracker, RadiationManager, TrainTracksPillarManager]
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 () [0x005c0]
at Mafi.Unity.GamePlayScene+<loadGame>d__42.MoveNext () [0x00304]
at Mafi.Unity.GamePlayScene+<Initialize>d__39.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__126.MoveNext () [0x00146]
at Mafi.Unity.Main.stepSceneInitialization () [0x00122]
Game version and build number
0.8.8d
Which branch of the game are you on?
Stable
Operating system
Windows
Originally posted in Russian
Помогите починить файл сохранения
### Issue description
Я поиграл на пиратской версии данной игры, очень понравилась решил поддержать Вас. Так вот, в пиратке были все dlc. А у меня нету пока dlc. Без dlc сохранение не грузится. Прошу почините пожалуйста. Чуть позже куплю dlc обещаю:)Спасибо за шикарную игру!
I played on the pirated version of this game, I really liked it and decided to support you. So, the pirate had all the dlc. And I don't have any dlc yet. Saving is not loaded without dlc. Please fix it. I'll buy the dlc later, I promise :) Thank you for a great game!
### Reproduction steps
1. I upload the save file.
2. A window pops up with the following content:
\---> CorruptedSaveException: Deserialized object has type 'CargoDepotManager' but type 'Event' was expected. ToString returned 'Mafi.Core.Buildings.Cargo.Modules.CargoDepotManager'. classId: 82, readObjects.Count: 100\
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+<>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: \[EntityPollutionTracker, RadiationManager, TrainTracksPillarManager\]\
at Mafi.Serialization.BlobReader+<FinalizeLoadingTimeSliced>d__44.MoveNext () \[0x00203\]\
at Mafi.Core.SaveGame.GameLoader+<FinishGameLoadAndDisposeTimeSliced>d__12.MoveNext () \[0x004ef\]\
at [Mafi.Core.Game](http://Mafi.Core.Game).GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () \[0x005c0\]\
at Mafi.Unity.GamePlayScene+<loadGame>d__42.MoveNext () \[0x00304\]\
at Mafi.Unity.GamePlayScene+<Initialize>d__39.MoveNext () \[0x000ad\]\
at Mafi.Unity.Main+<unloadAndStartNewScene>d__126.MoveNext () \[0x00146\]\
at Mafi.Unity.Main.stepSceneInitialization () \[0x00122\]
### Game version and build number
0.8.8d
### Which branch of the game are you on?
Stable
### Operating system
Windows