View Issue Details

IDProjectCategoryLast Update
0026038AI War 2Bug - OtherJan 1, 2022 5:36 pm
Reportervinco Assigned ToChris_McElligottPark  
Severitymajor 
Status resolvedResolutionfixed 
Product VersionBeta 3.777 Last Refinements For The Year 
Fixed in VersionBeta 3.778 Quick Fixes 
Summary0026038: Serialization error when loading a game after playing
DescriptionWhen exiting a running game, keeping AIW2 running, and attempting to load a game, the following serialization error occurs repeatably.

12/31/2021 10:22:20 PM 3.777 SINGLEP Hello Steam user 'vinco'
12/31/2021 10:22:57 PM 3.777 SINGLEP Start load save: D:/Steam/steamapps/common/AI War 2/PlayerData/Save/v3771/v7.save Source1: AnythingElse Source3: LoadingSaveGame
12/31/2021 10:22:57 PM 3.777 SINGLEP Clearing player accounts.
12/31/2021 10:22:57 PM 3.777 SINGLEP OnLoad: Fixed positions of 19 ship(s), 0 shot(s), 0 other/wormhole(s).
12/31/2021 10:22:57 PM 3.777 SINGLEP Finish load save in 669ms
12/31/2021 10:23:06 PM 3.777 SINGLEP Clearing player accounts.
12/31/2021 10:23:08 PM 3.777 SINGLEP Start load save: D:/Steam/steamapps/common/AI War 2/PlayerData/Save/v3771/v7.save Source1: AnythingElse Source3: LoadingSaveGame
12/31/2021 10:23:08 PM 3.777 SINGLEP Clearing player accounts.
12/31/2021 10:23:08 PM 3.777 SINGLEP System.Exception: World_AIW2 deserialization error at stage 4000 from serialized version 3.777 loading into new version 3.777, error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1[T].get_Item (System.Int32 index) [0x00071] in <c80ceb29b1e94b4e9b35664185fb0df0>:0
  at Arcen.AIW2.External.TechUpgradeChatHandler.DeserializeInto (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00017] in <15eff977c8a4410dbaa22f8cbb75a54b>:0
  at Arcen.Universal.ChatClickHandler.DeserializeNew (Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x00019] in <c80ceb29b1e94b4e9b35664185fb0df0>:0
  at Arcen.AIW2.Core.World_AIW2.DeserializeWorldFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean IsLoadingFromQuickstartOrLastLobbySettings, System.Boolean HideErrors, Arcen.Universal.SerializationCommandType SerializationType) [0x004e2] in <eb01dd667641483a979479438aa09273>:0
  at Arcen.AIW2.Core.World_AIW2.DeserializeWorldFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean IsLoadingFromQuickstartOrLastLobbySettings, System.Boolean HideErrors, Arcen.Universal.SerializationCommandType SerializationType) [0x00b01] in <eb01dd667641483a979479438aa09273>:0
  at Arcen.Universal.World.DeserializedIntoSelf (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean IsLoadingFromQuickstartOrLastLobbySettings, System.Boolean HideErrors, System.String& ErrorText, System.Boolean IgnoreAnyMissingExpansionsOrMods, Arcen.Universal.SerializationCommandType SerializationType) [0x0070a] in <c80ceb29b1e94b4e9b35664185fb0df0>:0
  at Arcen.Universal.World.DeserializeNewWorldFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean IsLoadingFromQuickstartOrLastLobbySettings, System.Boolean HideErrors, System.String& ErrorText, System.Boolean IgnoreAnyMissingExpansionsOrMods, Arcen.Universal.SerializationCommandType SerializationType) [0x00115] in <c80ceb29b1e94b4e9b35664185fb0df0>:0
  at Arcen.Universal.World.LoadWorldFromDiskInner (System.String FullSaveName, System.Byte[] Bytes, System.Boolean LoadAsTemplate, System.Boolean IsLoadingFromQuickstartOrLastLobbySettings, System.Boolean HideErrors, System.Boolean IgnoreAnyMissingExpansionsOrMods, Arcen.Universal.GameVersion& FromGameVersion) [0x00255] in <c80ceb29b1e94b4e9b35664185fb0df0>:0
12/31/2021 10:23:08 PM 3.777 SINGLEP Location 1: Go back to main menu since save load failed.
12/31/2021 10:23:08 PM 3.777 SINGLEP Clearing player accounts.
12/31/2021 10:23:08 PM 3.777 SINGLEP Failed to load save in 28ms

Attaching the save which worked for testing.
TagsNo tags attached.

Relationships

related to 0026040 resolvedChris_McElligottPark Error on hacking start 

Activities

vinco

Dec 31, 2021 10:25 pm

reporter  

v7.save (516,029 bytes)
v7.savemet (74 bytes)   
UK
526434593
6099
v3771
Random
Difficulty 7
1
<color=#0000fb>Vinco</color>
v7.savemet (74 bytes)   

Chris_McElligottPark

Jan 1, 2022 5:36 pm

administrator   ~0063632

Thanks!

* Added a new LazyLoadFactionWrapper, and fixed a deserialization issue that had arisen in the previous version due to the new message log histories deserializing before the factions were ready.
** This will fix any savegames from the prior version that have been broken.

Issue History

Date Modified Username Field Change
Dec 31, 2021 10:25 pm vinco New Issue
Dec 31, 2021 10:25 pm vinco File Added: v7.save
Dec 31, 2021 10:25 pm vinco File Added: v7.savemet
Jan 1, 2022 1:38 pm BadgerBadger Relationship added related to 0026040
Jan 1, 2022 5:36 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jan 1, 2022 5:36 pm Chris_McElligottPark Status new => resolved
Jan 1, 2022 5:36 pm Chris_McElligottPark Resolution open => fixed
Jan 1, 2022 5:36 pm Chris_McElligottPark Fixed in Version => Beta 3.778 Quick Fixes
Jan 1, 2022 5:36 pm Chris_McElligottPark Note Added: 0063632