RimWorld

RimWorld

Kyulen - NinetailFox
Issue when use with Better VPE Skipdoor Pathing
Initializing new game with mods:
- brrainz.harmony
- Ludeon.RimWorld
- Ludeon.RimWorld.Royalty
- Ludeon.RimWorld.Ideology
- Ludeon.RimWorld.Biotech
- Ludeon.RimWorld.Anomaly
- OskarPotocki.VanillaFactionsExpanded.Core
- VanillaExpanded.VPsycastsE
- TPABOBAP.bettervpeskipdoorpathing
- Bichang.Kyulen
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.InitNewGame_Patch0 (Verse.Game)
Verse.Root_Play/<>c:<Start>b__1_2 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()



Exception in Verse.AI.ThinkNode_Priority TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 2439632E]
at Ninetail.Patch_VRE_Skipdoor.PrePatchA (Verse.Pawn pawn, Verse.LocalTargetInfo dest, System.Boolean& __result) [0x00001] in <b2c8eb62fc1c4f788c48c8abead7d6e7>:0
at BetterVPESkipdoorPathing.PathfindingUtils.CanUseTeleporters (Verse.Pawn pawn, Verse.LocalTargetInfo dest) [0x00023] in <a753da9b533b40e59ba55d251b63e396>:0
- PREFIX Ninetail.VRECore.HarmonyPatch: Boolean Ninetail.Patch_VRE_Skipdoor:PrePatchA(Pawn pawn, LocalTargetInfo dest, Boolean& __result)
at BetterVPESkipdoorPathing.PathfindingUtils.Heuristics (System.Int32 dx, System.Int32 dz, System.Int32 cardinal, System.Int32 diagonal, Verse.AI.PathFinder pathfinder, Verse.LocalTargetInfo dest, Verse.TraverseParms traverseParms, System.Int32 cellIndex) [0x0000a] in <a753da9b533b40e59ba55d251b63e396>:0
at Verse.AI.PathFinder.FindPath (Verse.IntVec3 start, Verse.LocalTargetInfo dest, Verse.TraverseParms traverseParms, Verse.AI.PathEndMode peMode, Verse.AI.PathFinderCostTuning tuning) [0x00c40] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- TRANSPILER TPABOBAP.bettervpeskipdoorpathing: IEnumerable`1 BetterVPESkipdoorPathing.Verse_PathFinder_FindPath_Patch:Transpiler(IEnumerable`1 instructions)
- POSTFIX TPABOBAP.bettervpeskipdoorpathing: Void BetterVPESkipdoorPathing.Verse_PathFinder_FindPath_Patch:Postfix()
at RimWorld.JobGiver_ShamblerFight.MeleeAttackJob (Verse.Pawn pawn, Verse.Thing enemyTarget) [0x0003c] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.JobGiver_AIFightEnemy.TryGiveJob (Verse.Pawn pawn) [0x00138] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.JobGiver_ShamblerFight.TryGiveJob (Verse.Pawn pawn) [0x0000f] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00022] in <630e2863bc9a4a3493f2eff01e3a9556>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&,bool)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
Verse.AI.Pawn_JobTracker:EndCurrentJob (Verse.AI.JobCondition,bool,bool)
Verse.Hediff_Shambler:Tick ()
Verse.Pawn_HealthTracker:HealthTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

Seems like the patch make shamblers keep standing listlessly