View Issue Details

IDProjectCategoryLast Update
0021823AI War 2Crash/ExceptionOct 16, 2019 1:50 pm
ReporterAsteroid Assigned ToBadgerBadger  
Status resolvedResolutionfixed 
Product Version0.951 Hotfixes 
Fixed in Version0.952 A Little Help From Scary Friends 
Summary0021823: Dev Build: NullRef when scrapping own command station
DescriptionHopefully not another false positive, my setup should be fine now. This might also be happening in the officially released build, don't have time to repro it right now:

Exception in BaseScenario.DoOnAnyDeathLogic stage 6800
System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.SpecialFaction_Human.DoOnAnyDeathLogic (Arcen.AIW2.Core.GameEntity_Squad entity, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.ArcenSimContext Context) [0x00039] in <acc7cef53a5f4390ba74685322b8b9f9>:0
  at Arcen.AIW2.External.BaseScenario.DoOnAnyDeathLogic (Arcen.AIW2.Core.GameEntity_Squad entity, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Int32 numExtraStacksKilled, Arcen.AIW2.Core.ArcenSimContext Context) [0x00754] in <acc7cef53a5f4390ba74685322b8b9f9>: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 <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.AIW2.External.BaseScenario.DoOnAnyDeathLogic (Arcen.AIW2.Core.GameEntity_Squad entity, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Int32 numExtraStacksKilled, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <acc7cef53a5f4390ba74685322b8b9f9>:0
  at Arcen.AIW2.Core.GameEntity_Squad.DoOnAnyDeathInCombatLogic (Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <177a618a306045ffbc683ad442c3d3e6>:0
  at Arcen.AIW2.Core.GameEntity_Squad.DoOnDeathInCombatLogic (Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <177a618a306045ffbc683ad442c3d3e6>:0
  at Arcen.AIW2.Core.GameEntity_Squad.DoOnDestructionLogic (System.Boolean PreventReversionToNeutral, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Boolean wasAlive, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <177a618a306045ffbc683ad442c3d3e6>:0
  at Arcen.AIW2.Core.GameEntity_Squad.TakeDamage (System.Int32 Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.GameEntity_Shot ShotThatHitOrNullOnlyUsedForKnockback, System.Boolean IsSelfDamage, System.Boolean PreventReversionToNeutral, System.Boolean HonorFiniteHitCountAOE, System.Int32 MaxStacksAllowedToKill, System.Int32& ActualDamageDone, System.Int32& DamageAbortCode, Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <177a618a306045ffbc683ad442c3d3e6>:0
  at Arcen.AIW2.Core.GameEntity_Squad.Die (Arcen.AIW2.Core.ArcenSimContext Context, System.Boolean PreventReversionToNeutral, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull) [0x00000] in <177a618a306045ffbc683ad442c3d3e6>:0
  at Arcen.AIW2.Core.GameEntity_Squad.Despawn (Arcen.AIW2.Core.ArcenSimContext Context, System.Boolean PreventReversionToNeutral, Arcen.AIW2.Core.InstancedRendererDeactivationReason Reason) [0x00000] in <177a618a306045ffbc683ad442c3d3e6>:0
  at Arcen.AIW2.External.GameCommand_ScrapUnits.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenSimContext context) [0x00000] in <acc7cef53a5f4390ba74685322b8b9f9>:0
  at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <177a618a306045ffbc683ad442c3d3e6>:0
  at Arcen.AIW2.Core.World_AIW2.OnClient_ExecuteGameCommandsReceivedFromServer (Arcen.AIW2.Core.ArcenSimContext Context) [0x00000] in <177a618a306045ffbc683ad442c3d3e6>:0
  at Arcen.AIW2.External.SimPlannerImplementation.DoActualSimStep (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals) [0x00000] in <acc7cef53a5f4390ba74685322b8b9f9>:0
  at Arcen.AIW2.Core.Engine_AIW2.ProcessSimStep (System.Boolean& stalledWaitingOnConnections) [0x00000] in <177a618a306045ffbc683ad442c3d3e6>:0
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at ArcenGameController.Update () [0x00000] in <85373047697d47678ef6bb43a294699c>:0
TagsNo tags attached.

Activities

BadgerBadger

Oct 16, 2019 1:50 pm

manager   ~0053747

Real bug this time! Thanks

Issue History

Date Modified Username Field Change
Oct 16, 2019 1:43 pm Asteroid New Issue
Oct 16, 2019 1:50 pm BadgerBadger Assigned To => BadgerBadger
Oct 16, 2019 1:50 pm BadgerBadger Status new => resolved
Oct 16, 2019 1:50 pm BadgerBadger Resolution open => fixed
Oct 16, 2019 1:50 pm BadgerBadger Fixed in Version => 0.952 A Little Help From Scary Friends
Oct 16, 2019 1:50 pm BadgerBadger Note Added: 0053747