View Issue Details

IDProjectCategoryLast Update
0023860AI War 2Crash/ExceptionOct 2, 2020 6:26 pm
ReporterNRSirLimbo Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.604 A Thousand Screaming Idiots 
Fixed in Version2.605 Hunter Intelligence 
Summary0023860: Exception Popup: "TryWiringUpShotToTarget Error at debug stage 500"
DescriptionModified Marauders are enabled, and there's a ton of debugging info, but the error seems to be deep within Arcen.AIW2.ExternalVisualization which was not modified at all.
I don't think Marauders have anything to do with it.



10/2/2020 10:36:28 AM
TryWiringUpShotToTarget Error at debug stage 500
System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.SquadWrapper.GetSquad () [0x00009] in <e14989c264e6410ea5fc1b46c4f6647c>:0
  at Arcen.AIW2.ExternalVisualization.ShotVisualizer.TryWiringUpShotToTarget (System.Single DeltaTime, Arcen.AIW2.Core.GameEntity_Squad TargetSquad) [0x00163] in <dfce020eaaf944609496237de294e638>: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 <7d32f4d5c4324ad2a9e9d97ec9264d90>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <7d32f4d5c4324ad2a9e9d97ec9264d90>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <7d32f4d5c4324ad2a9e9d97ec9264d90>:0
  at Arcen.AIW2.ExternalVisualization.ShotVisualizer.TryWiringUpShotToTarget (System.Single DeltaTime, Arcen.AIW2.Core.GameEntity_Squad TargetSquad) [0x00000] in <dfce020eaaf944609496237de294e638>:0
  at Arcen.AIW2.ExternalVisualization.ShotVisualizer.AddShot (Arcen.AIW2.Core.GameEntity_Squad TargetSquad) [0x00000] in <dfce020eaaf944609496237de294e638>:0
  at Arcen.AIW2.ExternalVisualization.ShotVisualizer.Activate (Arcen.AIW2.Core.GameEntity_Base RelatedTo, Arcen.AIW2.Core.GameEntityTypeData RelatedType) [0x00000] in <dfce020eaaf944609496237de294e638>:0
  at Arcen.AIW2.Core.GameEntity_Base.UpdateVisualObj (System.Int32 IndexForDisplayPurposes, System.Boolean IsGalaxyMapView) [0x00000] in <e14989c264e6410ea5fc1b46c4f6647c>:0
  at Arcen.AIW2.Core.Planet.UpdateAllVisualObjects (System.Boolean IsCurrentPlanetNonSim, System.Int32 IndexForDisplayPurposes, System.Boolean IsGalaxyMapView) [0x00000] in <e14989c264e6410ea5fc1b46c4f6647c>:0
  at Arcen.AIW2.Core.Engine_AIW2+<>c__DisplayClass65_0.<UpdateAllVisuals>b__0 (Arcen.AIW2.Core.Planet planet) [0x00000] in <e14989c264e6410ea5fc1b46c4f6647c>:0
  at Arcen.AIW2.Core.Galaxy.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <e14989c264e6410ea5fc1b46c4f6647c>:0
  at Arcen.AIW2.Core.Engine_AIW2.UpdateAllVisuals () [0x00000] in <e14989c264e6410ea5fc1b46c4f6647c>:0
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <7d32f4d5c4324ad2a9e9d97ec9264d90>:0
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <e14989c264e6410ea5fc1b46c4f6647c>:0
  at ArcenGameController.Update () [0x00000] in <342846c60ad043638e2ec80b42611e65>:0
TagsNo tags attached.

Activities

NRSirLimbo

Oct 2, 2020 4:39 am

developer  

ArcenDebugLog.txt (1,329,331 bytes)
20201002103922_1.jpg (385,471 bytes)

Chris_McElligottPark

Oct 2, 2020 6:26 pm

administrator   ~0058927

Thanks!

* Fixed a general nullref exception that could happen in cross-threading cases in SquadWrapper's GetSquad() method.
** Why NRSirLimbo always hits these is a mystery, but thanks to him for reporting it!

Issue History

Date Modified Username Field Change
Oct 2, 2020 4:39 am NRSirLimbo New Issue
Oct 2, 2020 4:39 am NRSirLimbo File Added: ArcenDebugLog.txt
Oct 2, 2020 4:39 am NRSirLimbo File Added: 20201002103922_1.jpg
Oct 2, 2020 6:26 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 2, 2020 6:26 pm Chris_McElligottPark Status new => resolved
Oct 2, 2020 6:26 pm Chris_McElligottPark Resolution open => fixed
Oct 2, 2020 6:26 pm Chris_McElligottPark Fixed in Version => 2.605 Hunter Intelligence
Oct 2, 2020 6:26 pm Chris_McElligottPark Note Added: 0058927