RimWorld

RimWorld

Combat Extended [1.4]
m.schwantje 18 Aug, 2020 @ 5:33am
the debug log of the turret bug that apears if you disable the ammo system
debug log of the turret bug

JobDriver threw exception in initAction for pawn Lucy driver=JobDriver_ReloadTurret (toilIndex=1) driver.job=(ReloadTurret (Job_709) A=Thing_Turret_M134MGs12716)
System.NullReferenceException: Object reference not set to an instance of an object
at CombatExtended.JobDriver_ReloadTurret+<>c__DisplayClass11_0.<MakeNewToils>b__2 () [0x000b2] in <c85ee57b7b734f869d65dc9f3925f39c>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001df] in <7b345446a85d4ed599f9c604ae61854b>:0
Verse.Log:Error(String, Boolean)
Verse.AI.JobUtility:TryStartErrorRecoverJob(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:Notify_PatherArrived()
Verse.AI.Pawn_PathFollower:PatherArrived()
Verse.AI.Pawn_PathFollower:StartPath(LocalTargetInfo, PathEndMode)
Verse.AI.<>c__DisplayClass4_0:<GotoCell>b__0()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.StartJob_Patch3(Pawn_JobTracker, Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef, Nullable`1, Boolean, Boolean)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch2(Pawn_JobTracker, JobCondition, Boolean, Boolean)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Verse.Pawn.Tick_Patch1(Pawn)
Verse.TickList:Tick()
Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1(TickManager)
Verse.TickManager:TickManagerUpdate()
Verse.Game:Verse.Game.UpdatePlay_Patch2(Game)
Verse.Root_Play:Verse.Root_Play.Update_Patch1(Root_Play)