RimWorld

RimWorld

Turret Collection (Unofficial)
Master Kang Sep 27, 2023 @ 10:46pm
AATWS can't hit pawn
Exception ticking Bullet_AATWS_ATGM21018 (at (113, 0, 162)): System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) TurretCollection.CEpatch.TC_TandemChargeProjectile.TurretCollection.CEpatch.TC_TandemChargeProjectile.TryCastImpact_Patch0(TurretCollection.CEpatch.TC_TandemChargeProjectile,Verse.Thing,Verse.Thing,UnityEngine.Vector2,single,single,Verse.Thing,System.Nullable`1<single>)
at TurretCollection.CEpatch.CompTandemCharge.TryCastImpact (Verse.Thing impactThing, System.Nullable`1[T] damageParameter) [0x000bc] in <48a9d59dcfbb4223963065c523608621>:0
at (wrapper dynamic-method) TurretCollection.CEpatch.TC_ProjectileCE.TurretCollection.CEpatch.TC_ProjectileCE.CheckAndImpact_Patch0(TurretCollection.CEpatch.TC_ProjectileCE,Verse.Thing)
at TurretCollection.CEpatch.TC_ProjectileCE.Impact (Verse.Thing hitThing) [0x00049] in <48a9d59dcfbb4223963065c523608621>:0
at CombatExtended.ProjectileCE.ImpactSomething () [0x001b6] in <596c0470f1e140b99752fb63e961ac3c>:0
at CombatExtended.ProjectileCE.Tick () [0x00251] in <596c0470f1e140b99752fb63e961ac3c>:0
at (wrapper dynamic-method) TurretCollection.CEpatch.TC_ProjectileCE.TurretCollection.CEpatch.TC_ProjectileCE.Tick_Patch0(TurretCollection.CEpatch.TC_ProjectileCE)
at Verse.TickList.Tick () [0x0015c] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()