RimWorld

RimWorld

Orassans
Wistala 12 Mar, 2020 @ 2:43pm
Possible bug report.
Hi. Been seeing some slow down in my game and upon opening the dev tool debug, I am spammed with this error:

Exception in Verse.AI.ThinkNode_PrioritySorter GetPriority: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.Pawn_DrugPolicyTracker.ShouldTryToTakeScheduledNow (Verse.ThingDef ingestible) [0x0000d] in <f022d63938c4495c89633af859c233cf>:0
at RimWorld.JobGiver_TakeDrugsForDrugPolicy.GetPriority (Verse.Pawn pawn) [0x0001d] in <f022d63938c4495c89633af859c233cf>:0
at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x0006f] in <f022d63938c4495c89633af859c233cf>:0
Verse.Log:Error(String, Boolean)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob(ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:DMD<DMD<EndCurrentJob_Patch2>?-820935808::EndCurrentJob_Patch2>(Pawn_JobTracker, JobCondition, Boolean, Boolean)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()


I am not 100% it is yours, I am still in the process of finding the culprit. But figured I'll mentioned it. If nothing else perhaps you know what to look for. Thanks for your time.