Exception in JobDriver tick for pawn Fishercat3902347 driver=JobDriver_PredatorHunt (toilIndex=1) driver.job=(PredatorHunt (Job_5907469) A=Thing_Ibex3901859)
System.NullReferenceException: Object reference not set to an instance of an object
at Hospitality.Patches.Pawn_HealthTracker_MakeDowned_Patch+MakeDowned.Postfix (Verse.Pawn_HealthTracker instance) [0x00018] in <060e104cce494994ba678bf4b5fbe932>:0
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.MakeDowned_Patch2(Verse.Pawn_HealthTracker,System.Nullable1<Verse.DamageInfo>,Verse.Hediff) at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.CheckForStateChange_Patch2(Verse.Pawn_HealthTracker,System.Nullable1,Verse.Hediff)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.AddHediff_Patch4(Verse.Pawn_HealthTracker,Verse.Hediff,Verse.BodyPartRecord,System.Nullable`1,Verse.DamageWorker/DamageResult)
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, Verse.Hediff_Injury injury, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x00163] in :0
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x000c1] in :0
at Verse.DamageWorker_AddInjury.ApplySpecialEffectsToPart (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x0000b] in :0
at (wrapper dynamic-method) Verse.DamageWorker_AddInjury.Verse.DamageWorker_AddInjury.ApplyDamageToPart_Patch1(Verse.DamageWorker_AddInjury,Verse.DamageInfo,Verse.Pawn,Verse.DamageWorker/DamageResult)
at Verse.DamageWorker_AddInjury.ApplyToPawn (Verse.DamageInfo dinfo, Verse.Pawn pawn) [0x00091] in :0
at Verse.DamageWorker_AddInjury.Apply (Verse.DamageInfo dinfo, Verse.Thing thing) [0x00013] in :0
at (wrapper dynamic-method) Verse.Thing.Verse.Thing.TakeDamage_Patch3(Verse.Thing,Verse.DamageInfo)
at CombatExtended.Verb_MeleeAttackCE.ApplyMeleeDamageToTarget (Verse.LocalTargetInfo target) [0x00045] in <9c74f231424348b38310e9de94eb139e>:0
at (wrapper dynamic-method) CombatExtended.Verb_MeleeAttackCE.CombatExtended.Verb_MeleeAttackCE.TryCastShot_Patch1(CombatExtended.Verb_MeleeAttackCE)
at Verse.Verb.TryCastNextBurstShot () [0x00012] in :0
at (wrapper dynamic-method) Verse.Verb.Verse.Verb.WarmupComplete_Patch1(Verse.Verb)
at (wrapper dynamic-method) Verse.Verb.Verse.Verb.TryStartCastOn_Patch0(Verse.Verb,Verse.LocalTargetInfo,Verse.LocalTargetInfo,bool,bool,bool)
at Verse.Verb.TryStartCastOn (Verse.LocalTargetInfo castTarg, System.Boolean surpriseAttack, System.Boolean canHitNonTargetPawns, System.Boolean preventFriendlyFire) [0x00007] in :0
at RimWorld.Pawn_MeleeVerbs.TryMeleeAttack (Verse.Thing target, Verse.Verb verbToUse, System.Boolean surpriseAttack) [0x0008d] in :0
at RimWorld.JobDriver_PredatorHunt+<>cDisplayClass13_0.b3 () [0x00026] in :0
at Verse.AI.Toils_Combat+<>c__DisplayClass6_0.b0 () [0x000e8] in :0
at (wrapper dynamic-method) Verse.AI.JobDriver.Verse.AI.JobDriver.DriverTick_Patch0(Verse.AI.JobDriver)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
Exception in JobDriver tick for pawn SnowLeopard3903851 driver=JobDriver_PredatorHunt (toilIndex=1) driver.job=(PredatorHunt (Job_5894050) A=Thing_Fly3902409)
System.NullReferenceException: Object reference not set to an instance of an object
at Hospitality.Patches.Pawn_HealthTracker_MakeDowned_Patch+MakeDowned.Postfix (Verse.Pawn_HealthTracker instance) [0x00018] in <060e104cce494994ba678bf4b5fbe932>:0
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.MakeDowned_Patch2(Verse.Pawn_HealthTracker,System.Nullable1<Verse.DamageInfo>,Verse.Hediff) at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.CheckForStateChange_Patch2(Verse.Pawn_HealthTracker,System.Nullable1,Verse.Hediff)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.AddHediff_Patch4(Verse.Pawn_HealthTracker,Verse.Hediff,Verse.BodyPartRecord,System.Nullable1<Verse.DamageInfo>,Verse.DamageWorker/DamageResult) at (wrapper dynamic-method) Verse.HediffSet.Verse.HediffSet.AddDirect_Patch0(Verse.HediffSet,Verse.Hediff,System.Nullable1,Verse.DamageWorker/DamageResult)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.AddHediff_Patch4(Verse.Pawn_HealthTracker,Verse.Hediff,Verse.BodyPartRecord,System.Nullable`1,Verse.DamageWorker/DamageResult)
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, Verse.Hediff_Injury injury, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x00163] in :0
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x000c1] in :0
at Verse.DamageWorker_AddInjury.ApplySpecialEffectsToPart (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x0000b] in :0
at (wrapper dynamic-method) Verse.DamageWorker_AddInjury.Verse.DamageWorker_AddInjury.ApplyDamageToPart_Patch1(Verse.DamageWorker_AddInjury,Verse.DamageInfo,Verse.Pawn,Verse.DamageWorker/DamageResult)
at Verse.DamageWorker_AddInjury.ApplyToPawn (Verse.DamageInfo dinfo, Verse.Pawn pawn) [0x00091] in :0
at Verse.DamageWorker_AddInjury.Apply (Verse.DamageInfo dinfo, Verse.Thing thing) [0x00013] in :0
at (wrapper dynamic-method) Verse.Thing.Verse.Thing.TakeDamage_Patch3(Verse.Thing,Verse.DamageInfo)
at CombatExtended.Verb_MeleeAttackCE.ApplyMeleeDamageToTarget (Verse.LocalTargetInfo target) [0x00045] in <9c74f231424348b38310e9de94eb139e>:0
at (wrapper dynamic-method) CombatExtended.Verb_MeleeAttackCE.CombatExtended.Verb_MeleeAttackCE.TryCastShot_Patch1(CombatExtended.Verb_MeleeAttackCE)
at Verse.Verb.TryCastNextBurstShot () [0x00012] in :0
at (wrapper dynamic-method) Verse.Verb.Verse.Verb.WarmupComplete_Patch1(Verse.Verb)
at (wrapper dynamic-method) Verse.Verb.Verse.Verb.TryStartCastOn_Patch0(Verse.Verb,Verse.LocalTargetInfo,Verse.LocalTargetInfo,bool,bool,bool)
at Verse.Verb.TryStartCastOn (Verse.LocalTargetInfo castTarg, System.Boolean surpriseAttack, System.Boolean canHitNonTargetPawns, System.Boolean preventFriendlyFire) [0x00007] in :0
at RimWorld.Pawn_MeleeVerbs.TryMeleeAttack (Verse.Thing target, Verse.Verb verbToUse, System.Boolean surpriseAttack) [0x0008d] in :0
at RimWorld.JobDriver_PredatorHunt+<>c__DisplayClass13_0.b3 () [0x00026] in :0
at Verse.AI.Toils_Combat+<>c__DisplayClass6_0.b__0 () [0x000e8] in :0
at (wrapper dynamic-method) Verse.AI.JobDriver.Verse.AI.JobDriver.DriverTick_Patch0(Verse.AI.JobDriver)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
Exception in JobDriver tick for pawn Fishercat3902347 driver=JobDriver_PredatorHunt (toilIndex=1) driver.job=(PredatorHunt (Job_5907469) A=Thing_Ibex3901859) System.NullReferenceException: Object reference not set to an instance of an object at Hospitality.Patches.Pawn_HealthTracker_MakeDowned_Patch+MakeDowned.Postfix (Verse.Pawn_HealthTracker instance) [0x00018] in <060e104cce494994ba678bf4b5fbe932>:0 at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.MakeDowned_Patch2(Verse.Pawn_HealthTracker,System.Nullable,Verse.Hediff)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.AddHediff_Patch4(Verse.Pawn_HealthTracker,Verse.Hediff,Verse.BodyPartRecord,System.Nullable`1,Verse.DamageWorker/DamageResult)
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, Verse.Hediff_Injury injury, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x00163] in :0
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x000c1] in :0
at Verse.DamageWorker_AddInjury.ApplySpecialEffectsToPart (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x0000b] in :0
at (wrapper dynamic-method) Verse.DamageWorker_AddInjury.Verse.DamageWorker_AddInjury.ApplyDamageToPart_Patch1(Verse.DamageWorker_AddInjury,Verse.DamageInfo,Verse.Pawn,Verse.DamageWorker/DamageResult)
at Verse.DamageWorker_AddInjury.ApplyToPawn (Verse.DamageInfo dinfo, Verse.Pawn pawn) [0x00091] in :0
at Verse.DamageWorker_AddInjury.Apply (Verse.DamageInfo dinfo, Verse.Thing thing) [0x00013] in :0
at (wrapper dynamic-method) Verse.Thing.Verse.Thing.TakeDamage_Patch3(Verse.Thing,Verse.DamageInfo)
at CombatExtended.Verb_MeleeAttackCE.ApplyMeleeDamageToTarget (Verse.LocalTargetInfo target) [0x00045] in <9c74f231424348b38310e9de94eb139e>:0
at (wrapper dynamic-method) CombatExtended.Verb_MeleeAttackCE.CombatExtended.Verb_MeleeAttackCE.TryCastShot_Patch1(CombatExtended.Verb_MeleeAttackCE)
at Verse.Verb.TryCastNextBurstShot () [0x00012] in :0
at (wrapper dynamic-method) Verse.Verb.Verse.Verb.WarmupComplete_Patch1(Verse.Verb)
at (wrapper dynamic-method) Verse.Verb.Verse.Verb.TryStartCastOn_Patch0(Verse.Verb,Verse.LocalTargetInfo,Verse.LocalTargetInfo,bool,bool,bool)
at Verse.Verb.TryStartCastOn (Verse.LocalTargetInfo castTarg, System.Boolean surpriseAttack, System.Boolean canHitNonTargetPawns, System.Boolean preventFriendlyFire) [0x00007] in :0
at RimWorld.Pawn_MeleeVerbs.TryMeleeAttack (Verse.Thing target, Verse.Verb verbToUse, System.Boolean surpriseAttack) [0x0008d] in :0
at RimWorld.JobDriver_PredatorHunt+<>c DisplayClass13_0.b3 () [0x00026] in :0
at Verse.AI.Toils_Combat+<>c__DisplayClass6_0.b 0 () [0x000e8] in :0
at (wrapper dynamic-method) Verse.AI.JobDriver.Verse.AI.JobDriver.DriverTick_Patch0(Verse.AI.JobDriver)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
1<Verse.DamageInfo>,Verse.Hediff) at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.CheckForStateChange_Patch2(Verse.Pawn_HealthTracker,System.Nullable
1Exception in JobDriver tick for pawn SnowLeopard3903851 driver=JobDriver_PredatorHunt (toilIndex=1) driver.job=(PredatorHunt (Job_5894050) A=Thing_Fly3902409) System.NullReferenceException: Object reference not set to an instance of an object at Hospitality.Patches.Pawn_HealthTracker_MakeDowned_Patch+MakeDowned.Postfix (Verse.Pawn_HealthTracker instance) [0x00018] in <060e104cce494994ba678bf4b5fbe932>:0 at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.MakeDowned_Patch2(Verse.Pawn_HealthTracker,System.Nullable,Verse.Hediff)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.AddHediff_Patch4(Verse.Pawn_HealthTracker,Verse.Hediff,Verse.BodyPartRecord,System.Nullable,Verse.DamageWorker/DamageResult)
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.AddHediff_Patch4(Verse.Pawn_HealthTracker,Verse.Hediff,Verse.BodyPartRecord,System.Nullable`1,Verse.DamageWorker/DamageResult)
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, Verse.Hediff_Injury injury, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x00163] in :0
at Verse.DamageWorker_AddInjury.FinalizeAndAddInjury (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x000c1] in :0
at Verse.DamageWorker_AddInjury.ApplySpecialEffectsToPart (Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageWorker+DamageResult result) [0x0000b] in :0
at (wrapper dynamic-method) Verse.DamageWorker_AddInjury.Verse.DamageWorker_AddInjury.ApplyDamageToPart_Patch1(Verse.DamageWorker_AddInjury,Verse.DamageInfo,Verse.Pawn,Verse.DamageWorker/DamageResult)
at Verse.DamageWorker_AddInjury.ApplyToPawn (Verse.DamageInfo dinfo, Verse.Pawn pawn) [0x00091] in :0
at Verse.DamageWorker_AddInjury.Apply (Verse.DamageInfo dinfo, Verse.Thing thing) [0x00013] in :0
at (wrapper dynamic-method) Verse.Thing.Verse.Thing.TakeDamage_Patch3(Verse.Thing,Verse.DamageInfo)
at CombatExtended.Verb_MeleeAttackCE.ApplyMeleeDamageToTarget (Verse.LocalTargetInfo target) [0x00045] in <9c74f231424348b38310e9de94eb139e>:0
at (wrapper dynamic-method) CombatExtended.Verb_MeleeAttackCE.CombatExtended.Verb_MeleeAttackCE.TryCastShot_Patch1(CombatExtended.Verb_MeleeAttackCE)
at Verse.Verb.TryCastNextBurstShot () [0x00012] in :0
at (wrapper dynamic-method) Verse.Verb.Verse.Verb.WarmupComplete_Patch1(Verse.Verb)
at (wrapper dynamic-method) Verse.Verb.Verse.Verb.TryStartCastOn_Patch0(Verse.Verb,Verse.LocalTargetInfo,Verse.LocalTargetInfo,bool,bool,bool)
at Verse.Verb.TryStartCastOn (Verse.LocalTargetInfo castTarg, System.Boolean surpriseAttack, System.Boolean canHitNonTargetPawns, System.Boolean preventFriendlyFire) [0x00007] in :0
at RimWorld.Pawn_MeleeVerbs.TryMeleeAttack (Verse.Thing target, Verse.Verb verbToUse, System.Boolean surpriseAttack) [0x0008d] in :0
at RimWorld.JobDriver_PredatorHunt+<>c__DisplayClass13_0.b 3 () [0x00026] in :0
at Verse.AI.Toils_Combat+<>c__DisplayClass6_0.b__0 () [0x000e8] in :0
at (wrapper dynamic-method) Verse.AI.JobDriver.Verse.AI.JobDriver.DriverTick_Patch0(Verse.AI.JobDriver)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch2 (Verse.Pawn)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch1 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
1<Verse.DamageInfo>,Verse.Hediff) at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.CheckForStateChange_Patch2(Verse.Pawn_HealthTracker,System.Nullable
11<Verse.DamageInfo>,Verse.DamageWorker/DamageResult) at (wrapper dynamic-method) Verse.HediffSet.Verse.HediffSet.AddDirect_Patch0(Verse.HediffSet,Verse.Hediff,System.Nullable
1Отдельный сейв не делал. Просто подметил ошибку.