Crash during save, file fail to load on open

Expired
ClearlyConfusedToo [github] · 4 years ago

Describe the issue
Game crash when quit to desktop from menu after overwrite save. Hard reset required. Issue started with newest patch. Unable to open last save, game unable to initialize.

To Reproduce
Steps to reproduce the behavior:

  1. Load attached save '...'
    22-06-30_07-22-22_7165.log

  2. Do xxx '....'

  3. Strange thing happens '...'

Additional context

  • Game version: 0.4.6
    22-06-30_17-21-55_9857.log

Attachments
If applicable, add save files (zipped) , screenshots, or log files to help explain the issue. You can find them in your Documents (%userprofile%\Documents\Captain Of Industry\). If your issue is severe, like crashes or rednering glitches, also unclude Unity logs from %USERPROFILE%\AppData\LocalLow\Mafi Games\Captain of Industry\. You might need to ZIP the attached files.

2 attachments only for registered users
Captain Filip Captain Filip · 4 years ago

I can see the followig in logs:
X 21:22:00,506 S------ ~Mai: Exception during game initialization.
---> IOException: Corrupted data ReadInternal
at System.IO.Compression.DeflateStreamNative.CheckResult (System.Int32 result, System.String where) [0x0008e]
at System.IO.Compression.DeflateStreamNative.ReadZStream (System.IntPtr buffer, System.Int32 length) [0x0000d]
at System.IO.Compression.DeflateStream.ReadInternal (System.Byte[] array, System.Int32 offset, System.Int32 count)
at System.IO.Compression.DeflateStream.Read (System.Byte[] array, System.Int32 offset, System.Int32 count)
at System.IO.Compression.GZipStream.Read (System.Byte[] array, System.Int32 offset, System.Int32 count)
at System.IO.BinaryReader.FillBuffer (System.Int32 numBytes)
at System.IO.BinaryReader.ReadUInt64 ()
at Mafi.Serialization.BlobReader.ReadULong ()
at Mafi.Core.SaveGame.GameLoader.StartGameLoadReturnModTypes (System.IO.Stream stream, System.Boolean skipFileHeaderRead)
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__2.MoveNext () [0x0003a]

Please provide your save file, so we can try to reproduce it

Captain Filip Captain Filip · 3 years ago

Closing as we don't have enough info.

Closed as ⏱️ Expired

6 Showing 1–3 of 3