View Issue Details

IDProjectCategoryLast Update
0019145AI War 2Crash/ExceptionJun 1, 2017 9:23 am
ReporterBadgerBadger Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.301 The New HDR Visual Stack 
Fixed in Version0.400 Usability and the GUI Pipeline 
Summary0019145: Crash loading saved game
DescriptionThis game has some mods (strong ark, bonus starting techs). It also has a ton of ships in it. I tried to load this save game and hit the following crash:

Exception occurred during world deserialization:FormatException
Will now log details in WorldDeserializationErrors.txt

  at Arcen.Universal.ArcenDeserializationBuffer.TryReadInt32 (System.Boolean& WasSuccessful, Boolean ThrowExceptionOnFailure) [0x00248] in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\ArcenBuffers\ArcenDeserializationBuffer.cs:175
  at Arcen.Universal.ArcenDeserializationBuffer.ReadInt32 () [0x00005] in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\ArcenBuffers\ArcenDeserializationBuffer.cs:70
  at Arcen.AIW2.Core.CombatSide.DeserializeFrom (Arcen.AIW2.Core.WorldSide WorldSide, Arcen.AIW2.Core.CombatEncounter Combat, Arcen.Universal.ArcenDeserializationBuffer Buffer, Boolean IsLoadingFromNetwork, Arcen.Universal.GameVersion DeserializingGameVersion) [0x0007f] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatSide.cs:97
  at Arcen.AIW2.Core.CombatEncounter.DeserializeFrom (Arcen.AIW2.Core.Planet ForPlanet, Arcen.Universal.ArcenDeserializationBuffer Buffer, Boolean IsLoadingFromNetwork, Arcen.Universal.GameVersion DeserializingGameVersion) [0x00030] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\CombatEncounter\CombatEncounter.cs:68
  at Arcen.AIW2.Core.Planet.DeserializeFrom (Arcen.AIW2.Core.Galaxy ForGalaxy, Arcen.Universal.ArcenDeserializationBuffer Buffer, Boolean IsLoadingFromNetwork, Arcen.Universal.GameVersion DeserializingGameVersion) [0x00047] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\Mapping\Planet.cs:243
  at Arcen.AIW2.Core.Galaxy.DeserializeFrom (Arcen.AIW2.Core.SetOfGalaxies ForSet, Arcen.Universal.ArcenDeserializationBuffer Buffer, Boolean IsLoadingFromNetwork, Arcen.Universal.GameVersion DeserializingGameVersion) [0x00026] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\Mapping\Galaxy.cs:51
  at Arcen.AIW2.Core.SetOfGalaxies.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, Boolean IsLoadingFromNetwork, Arcen.Universal.GameVersion DeserializingGameVersion) [0x0001f] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\Mapping\SetOfGalaxies.cs:120
  at Arcen.AIW2.Core.World_AIW2.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, Boolean IsLoadingFromNetwork, Arcen.Universal.GameVersion DeserializingGameVersion) [0x00138] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\GameState\World_AIW2.cs:145
  at Arcen.Universal.World.DeserializeFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, Boolean IsLoadingFromNetwork, Arcen.Universal.GameVersion& DeserializingGameVersion) [0x00185] in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\Logic\GameState\World.cs:122
  at Arcen.Universal.World.LoadWorldFromDiskInner (System.String SaveName, System.String Text) [0x0002a] in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\Logic\GameState\World.cs:419

I note the save game is 11M.... Perhaps Int32 should be changed to Int64 ;-)

TagsNo tags attached.

Activities

BadgerBadger

May 31, 2017 9:59 am

manager  

NewSave_1.save.gz (597,068 bytes)

BadgerBadger

May 31, 2017 9:59 am

manager  

BadgerBadger

May 31, 2017 10:04 am

manager   ~0046245

I think this is the game where I provoked 100K AI ships. Hard to tell for sure though since I can't name my save files ;-)

keith.lamothe

Jun 1, 2017 9:23 am

administrator   ~0046253

For 0.302:

* Fixed a bug where saves triggered in the save menu could happen while some changes to gamestate were still ongoing, leading to the data being saved in an inconsistent (and sometimes non-loadable) fashion.
** Also added a warning message that will show if this particular corruption happens again, though it shouldn't be able to.

Thanks :)

This particular save itself cannot be loaded, since the error was on the create-the-save side, not the read-the-save side. Sorry about that. But it died for science! :)

Issue History

Date Modified Username Field Change
May 31, 2017 9:59 am BadgerBadger New Issue
May 31, 2017 9:59 am BadgerBadger File Added: NewSave_1.save.gz
May 31, 2017 9:59 am BadgerBadger File Added: WorldDeserializationErrors.txt.gz
May 31, 2017 10:04 am BadgerBadger Note Added: 0046245
Jun 1, 2017 8:25 am keith.lamothe Assigned To => keith.lamothe
Jun 1, 2017 8:25 am keith.lamothe Status new => assigned
Jun 1, 2017 9:23 am keith.lamothe Note Added: 0046253
Jun 1, 2017 9:23 am keith.lamothe Status assigned => resolved
Jun 1, 2017 9:23 am keith.lamothe Fixed in Version => 0.400 Usability and the GUI Pipeline
Jun 1, 2017 9:23 am keith.lamothe Resolution open => fixed