RimWorld

RimWorld

Combat Extended [1.4]
Qualli 18 Jan, 2022 @ 10:09am
[BUG] Got Lag when pawns use rocktlauncher or grenades
Hi there, I get this error message every time a pawn uses a rocketlauncher or grenades. It seems to be they constantly try to reload the weapon, even If there are out of ammo. Is there a fix for it?

Exception ticking Onorios (at (114, 0, 228)): System.NullReferenceException: Object reference not set to an instance of an object
at CombatExtended.Verb_LaunchProjectileCE.ShiftTarget (CombatExtended.ShiftVecReport report, System.Boolean calculateMechanicalOnly, System.Boolean isInstant) [0x005e1] in <5974279be7ac41c4bc34ed94ebf75c02>:0
at CombatExtended.Verb_LaunchProjectileCE.TryCastShot () [0x00111] in <5974279be7ac41c4bc34ed94ebf75c02>:0
at CombatExtended.Verb_ShootCE.TryCastShot () [0x00035] in <5974279be7ac41c4bc34ed94ebf75c02>:0
at CombatExtended.Verb_ShootCEOneUse.TryCastShot () [0x00001] in <5974279be7ac41c4bc34ed94ebf75c02>:0
at (wrapper dynamic-method) Verse.Verb.Verse.Verb.TryCastNextBurstShot_Patch0(Verse.Verb)
at Verse.Verb.WarmupComplete () [0x00013] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at CombatExtended.Verb_LaunchProjectileCE.WarmupComplete () [0x0009b] in <5974279be7ac41c4bc34ed94ebf75c02>:0
at CombatExtended.Verb_ShootCE.WarmupComplete () [0x000c5] in <5974279be7ac41c4bc34ed94ebf75c02>:0
at Verse.Stance_Warmup.Expire () [0x0000a] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.Stance_Busy.StanceTick () [0x00017] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.Stance_Warmup.StanceTick () [0x00133] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.Pawn_StanceTracker.StanceTrackerTick () [0x00018] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.Pawn.Tick () [0x00067] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.TickList.Tick () [0x0015c] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()