View Issue Details

IDProjectCategoryLast Update
0026291AI War 2Crash/ExceptionFeb 6, 2022 9:26 pm
ReporterDaniexpert Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.795 Deduplicating 
Fixed in VersionBeta 3.795 Deduplicating 
Summary0026291: Save deserialization loading error - GameEntity_Squad.InitializeSquad error at stage 2500
DescriptionRev 16109
Tried loading a save made in Rev 16097, after enabling and disabling some mods and it didn't work, throwing the attached error. Rebooting the game fixed the issue.
TagsNo tags attached.

Activities

Daniexpert

Feb 6, 2022 9:13 am

manager  

exception.txt (3,770 bytes)   
2/6/2022 3:05:37 PM 3.794 SINGLEP Start load save: C:/Games/AIWar2_dev/PlayerData/Save/testNecroEmpire\gn.save Source1: AnythingElse Source3: LoadingSaveGame
2/6/2022 3:05:37 PM 3.794 SINGLEP Clearing player accounts.
2/6/2022 3:05:37 PM 3.794 SINGLEP GameEntity_Squad.InitializeSquad error at stage 2500, error: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.SetParentEntity (Arcen.AIW2.Core.GameEntity_Squad NewParentEntity, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0001c] in <e5fa9b1711dc420aa2960a7af815dd97>:0 
  at Arcen.AIW2.Core.EntitySystem.GetFromPoolOrCreate (Arcen.AIW2.Core.GameEntity_Squad ParentEntity, Arcen.AIW2.Core.EntitySystemTypeData TypeData, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0000c] in <e5fa9b1711dc420aa2960a7af815dd97>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.InitializeSquad (Arcen.AIW2.Core.Planet Planet, System.Int32 PrimaryKeyID, System.Byte MarkLevel, Arcen.AIW2.Core.GameEntityTypeData TypeData) [0x001c9] in <e5fa9b1711dc420aa2960a7af815dd97>:0 
2/6/2022 3:05:37 PM 3.794 SINGLEP GameEntity_Squad deserialization error at stage 10000 from serialized version 3.793 loading into new version 3.794, error: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.SetParentEntity (Arcen.AIW2.Core.GameEntity_Squad NewParentEntity, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0001c] in <e5fa9b1711dc420aa2960a7af815dd97>:0 
  at Arcen.AIW2.Core.EntitySystem.GetFromPoolOrCreate (Arcen.AIW2.Core.GameEntity_Squad ParentEntity, Arcen.AIW2.Core.EntitySystemTypeData TypeData, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0000c] in <e5fa9b1711dc420aa2960a7af815dd97>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.DeserializeSquadIntoSelf (System.Int32 primaryKeyID, Arcen.AIW2.Core.GameEntityTypeData typeData, Arcen.AIW2.Core.Planet NewPlanet, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean HideErrors, System.Boolean IsLoadingTemplate, Arcen.Universal.SerializationCommandType SerializationCmdType, Arcen.AIW2.Core.PlanetFaction NewPlanetFaction) [0x00b0d] in <e5fa9b1711dc420aa2960a7af815dd97>:0 
2/6/2022 3:05:37 PM 3.794 SINGLEP The savegame you are trying to load had the following inner fatal error: GameEntity_Squad deserialization error at stage 10000 from serialized version 3.793 loading into new version 3.794, error: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.SetParentEntity (Arcen.AIW2.Core.GameEntity_Squad NewParentEntity, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0001c] in <e5fa9b1711dc420aa2960a7af815dd97>:0 
  at Arcen.AIW2.Core.EntitySystem.GetFromPoolOrCreate (Arcen.AIW2.Core.GameEntity_Squad ParentEntity, Arcen.AIW2.Core.EntitySystemTypeData TypeData, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0000c] in <e5fa9b1711dc420aa2960a7af815dd97>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.DeserializeSquadIntoSelf (System.Int32 primaryKeyID, Arcen.AIW2.Core.GameEntityTypeData typeData, Arcen.AIW2.Core.Planet NewPlanet, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean HideErrors, System.Boolean IsLoadingTemplate, Arcen.Universal.SerializationCommandType SerializationCmdType, Arcen.AIW2.Core.PlanetFaction NewPlanetFaction) [0x00b0d] in <e5fa9b1711dc420aa2960a7af815dd97>:0 
2/6/2022 3:05:37 PM 3.794 SINGLEP Location 1: Go back to main menu since save load failed.
2/6/2022 3:05:37 PM 3.794 SINGLEP Clearing player accounts.
2/6/2022 3:05:37 PM 3.794 SINGLEP Failed to load save in 85ms
exception.txt (3,770 bytes)   

Chris_McElligottPark

Feb 6, 2022 2:03 pm

administrator   ~0064175

2/6/2022 3:05:37 PM 3.794 SINGLEP GameEntity_Squad.InitializeSquad error at stage 2500, error: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.SetParentEntity (Arcen.AIW2.Core.GameEntity_Squad NewParentEntity, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0001c] in <e5fa9b1711dc420aa2960a7af815dd97>:0
  at Arcen.AIW2.Core.EntitySystem.GetFromPoolOrCreate (Arcen.AIW2.Core.GameEntity_Squad ParentEntity, Arcen.AIW2.Core.EntitySystemTypeData TypeData, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0000c] in <e5fa9b1711dc420aa2960a7af815dd97>:0
  at Arcen.AIW2.Core.GameEntity_Squad.InitializeSquad (Arcen.AIW2.Core.Planet Planet, System.Int32 PrimaryKeyID, System.Byte MarkLevel, Arcen.AIW2.Core.GameEntityTypeData TypeData) [0x001c9] in <e5fa9b1711dc420aa2960a7af815dd97>:0
2/6/2022 3:05:37 PM 3.794 SINGLEP GameEntity_Squad deserialization error at stage 10000 from serialized version 3.793 loading into new version 3.794, error: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.SetParentEntity (Arcen.AIW2.Core.GameEntity_Squad NewParentEntity, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0001c] in <e5fa9b1711dc420aa2960a7af815dd97>:0
  at Arcen.AIW2.Core.EntitySystem.GetFromPoolOrCreate (Arcen.AIW2.Core.GameEntity_Squad ParentEntity, Arcen.AIW2.Core.EntitySystemTypeData TypeData, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0000c] in <e5fa9b1711dc420aa2960a7af815dd97>:0
  at Arcen.AIW2.Core.GameEntity_Squad.DeserializeSquadIntoSelf (System.Int32 primaryKeyID, Arcen.AIW2.Core.GameEntityTypeData typeData, Arcen.AIW2.Core.Planet NewPlanet, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean HideErrors, System.Boolean IsLoadingTemplate, Arcen.Universal.SerializationCommandType SerializationCmdType, Arcen.AIW2.Core.PlanetFaction NewPlanetFaction) [0x00b0d] in <e5fa9b1711dc420aa2960a7af815dd97>:0
2/6/2022 3:05:37 PM 3.794 SINGLEP The savegame you are trying to load had the following inner fatal error: GameEntity_Squad deserialization error at stage 10000 from serialized version 3.793 loading into new version 3.794, error: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.EntitySystem.SetParentEntity (Arcen.AIW2.Core.GameEntity_Squad NewParentEntity, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0001c] in <e5fa9b1711dc420aa2960a7af815dd97>:0
  at Arcen.AIW2.Core.EntitySystem.GetFromPoolOrCreate (Arcen.AIW2.Core.GameEntity_Squad ParentEntity, Arcen.AIW2.Core.EntitySystemTypeData TypeData, System.Int32 IndexForDebuggingOnly, System.String SetReasonForDebug) [0x0000c] in <e5fa9b1711dc420aa2960a7af815dd97>:0
  at Arcen.AIW2.Core.GameEntity_Squad.DeserializeSquadIntoSelf (System.Int32 primaryKeyID, Arcen.AIW2.Core.GameEntityTypeData typeData, Arcen.AIW2.Core.Planet NewPlanet, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean HideErrors, System.Boolean IsLoadingTemplate, Arcen.Universal.SerializationCommandType SerializationCmdType, Arcen.AIW2.Core.PlanetFaction NewPlanetFaction) [0x00b0d] in <e5fa9b1711dc420aa2960a7af815dd97>:0

Chris_McElligottPark

Feb 6, 2022 9:26 pm

administrator   ~0064191

I found and fixed a ship-doubling bug that was causing LOTS of wrong issues, and that should fix this as well as a number of other issues. I'm marking a lot of things fixed, and if we see some variant of those again, then please let me know in a fresh report. Thank you!

Issue History

Date Modified Username Field Change
Feb 6, 2022 9:13 am Daniexpert New Issue
Feb 6, 2022 9:13 am Daniexpert File Added: exception.txt
Feb 6, 2022 2:03 pm Chris_McElligottPark Note Added: 0064175
Feb 6, 2022 9:26 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Feb 6, 2022 9:26 pm Chris_McElligottPark Status new => resolved
Feb 6, 2022 9:26 pm Chris_McElligottPark Resolution open => fixed
Feb 6, 2022 9:26 pm Chris_McElligottPark Fixed in Version => Beta 3.795 Deduplicating
Feb 6, 2022 9:26 pm Chris_McElligottPark Note Added: 0064191