Open Gilga1412 opened 1 year ago
Thanks for your report. We do need a save file though to actually reproduce the issue. Could you upload the problematic save?
here the save, i don't know where to begin or the end but i upload the closest one that trigger the problem Captain of Industry Saves.ZIP
Issue description
The game failed to initialize. Please file a bug report if this issue persists.
Mafi.Serialization.CorruptedSaveException: Failed to finalize deserialization of 'Mafi.Core.Terrain.TerrainManager' (type 'TerrainManager'. Previous deserialized object: Mafi.Core.GameLoop.GameRunner (type GameRunner) ---> Mafi.Serialization.CorruptedSaveException: Failed to read variable-encoded uint, last byte is too high. at Mafi.Serialization.BlobReader.ReadUInt () [0x0009a]greadTile|29_0 (System.Int32 absI, Mafi.Core.Terrain.TerrainManager+TerrainData+<>c__DisplayClass29_0& ) [0x000d7]g readChangedTiles|29_1 (System.Int32 index, Mafi.Core.Terrain.TerrainManager+TerrainData+<>cDisplayClass29_0& ) [0x00023]d 28.MoveNext () [0x00062]d28.MoveNext () [0x000bf]d 8.MoveNext () [0x00265]d2.MoveNext () [0x0020e]d 16.MoveNext () [0x001f9]d__14.MoveNext () [0x000a5]
at Mafi.Core.Terrain.TerrainMaterialThicknessSlim.Deserialize (Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Core.Terrain.TerrainManager+TerrainData.
at Mafi.Core.Terrain.TerrainManager+TerrainData.
at Mafi.Core.Terrain.TerrainManager+TerrainData.Deserialize (Mafi.Serialization.BlobReader reader) [0x000a0]
at Mafi.Core.Terrain.TerrainManager.DeserializeData (Mafi.Serialization.BlobReader reader) [0x0003b]
at Mafi.Core.Terrain.TerrainManager+<>c.<.cctor>b__311_1 (System.Object obj, Mafi.Serialization.BlobReader reader) [0x00000]
at Mafi.Serialization.BlobReader+
--- End of inner exception stack trace --- at Mafi.Serialization.BlobReader+
at Mafi.Core.SaveGame.GameLoader+
at Mafi.Core.Game.GameBuilder+
at Mafi.Unity.GamePlayScene+
at Mafi.Unity.GamePlayScene+
at Mafi.Unity.Main.stepSceneInitialization () [0x00000]
Reproduction steps
Game version and build number
v0.5.5a b250
Operating system
Windows
Attachments
Captain of Industry report1.ZIP