View Issue Details

IDProjectCategoryLast Update
0022153AI War 2Bug - GameplayNov 14, 2019 4:29 pm
Reportervinco Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version1.007 The Player/AI Arms Race Intensifies 
Fixed in Version1.008 Golems And Arks Come Marching In 
Summary0022153: Unknown bug - log paste here
DescriptionOccurred in the middle of a large battle after a wave was launched at one of my other worlds.

11/9/2019 5:56:47 PM
Error in PreFillFactionBasedData inner entity loop innerDebugStage: 1200
System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.TargetListPlanning+<>c__DisplayClass22_0.<PreFillFactionBasedData>b__0 (Arcen.AIW2.Core.GameEntity_Squad defenderEntity) [0x001ee] in <618b10d74bae45f981eb15ba9e618517>:0

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <695d0a2849a249889b4fcb335d9fd7dc>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <695d0a2849a249889b4fcb335d9fd7dc>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <695d0a2849a249889b4fcb335d9fd7dc>:0
  at Arcen.AIW2.External.TargetListPlanning+<>c__DisplayClass22_0.<PreFillFactionBasedData>b__0 (Arcen.AIW2.Core.GameEntity_Squad defenderEntity) [0x00000] in <618b10d74bae45f981eb15ba9e618517>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <7ba61871bf8b486bb1159f36c73511ba>:0
  at Arcen.AIW2.External.TargetListPlanning.PreFillFactionBasedData (Arcen.AIW2.Core.PlanetFaction PFaction) [0x00000] in <618b10d74bae45f981eb15ba9e618517>:0
  at Arcen.AIW2.External.TargetListPlanning.FindTopEntriesForSystem (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity, Arcen.AIW2.Core.EntitySystem AttackerSystem, System.Int32 SystemIndex) [0x00000] in <618b10d74bae45f981eb15ba9e618517>:0
  at Arcen.AIW2.External.TargetListPlanning.DoEntityFramePlanningLogic_TargetPrioritizing_SpecificSystem (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity, Arcen.AIW2.Core.EntitySystem AttackerSystem, System.Int32 SystemIndex) [0x00000] in <618b10d74bae45f981eb15ba9e618517>:0
  at Arcen.AIW2.External.TargetListPlanning.DoEntityFramePlanningLogic_TargetPrioritizing (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity) [0x00000] in <618b10d74bae45f981eb15ba9e618517>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <7ba61871bf8b486bb1159f36c73511ba>:0
  at Arcen.AIW2.External.TargetListPlanning.Execute () [0x00000] in <618b10d74bae45f981eb15ba9e618517>:0
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <618b10d74bae45f981eb15ba9e618517>:0
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <618b10d74bae45f981eb15ba9e618517>:0
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0

Saved immediately after and attached. Closest prior save also attached.
TagsNo tags attached.

Activities

vinco

Nov 9, 2019 5:59 pm

reporter  

bug.savemet (52 bytes)
bug.save (957,835 bytes)
Autosave.16800.save (972,211 bytes)

vinco

Nov 9, 2019 7:08 pm

reporter   ~0054484

I didn't notice anything actually wrong besides the in-game bug notification, so I can't provide more detail.

Chris_McElligottPark

Nov 14, 2019 4:29 pm

administrator   ~0054570

Thanks!

* Fixed another rare nullref exception that could happen in the target list planning because of cross-threading stuff.


It actually would have self-repaired after that one frame, but the popup is annoying and it slowed down some targeting logic by about 1/4 of a second.

Issue History

Date Modified Username Field Change
Nov 9, 2019 5:59 pm vinco New Issue
Nov 9, 2019 5:59 pm vinco File Added: bug.savemet
Nov 9, 2019 5:59 pm vinco File Added: bug.save
Nov 9, 2019 5:59 pm vinco File Added: Autosave.16800.save
Nov 9, 2019 5:59 pm vinco File Added: Autosave.16800.savemet
Nov 9, 2019 7:08 pm vinco Note Added: 0054484
Nov 14, 2019 4:29 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Nov 14, 2019 4:29 pm Chris_McElligottPark Status new => resolved
Nov 14, 2019 4:29 pm Chris_McElligottPark Resolution open => fixed
Nov 14, 2019 4:29 pm Chris_McElligottPark Fixed in Version => 1.008 Golems And Arks Come Marching In
Nov 14, 2019 4:29 pm Chris_McElligottPark Note Added: 0054570