RimWorld

RimWorld

Prison Labor 0.9 (Outdated)
Franshish 4 May, 2019 @ 9:22pm
Keep getting errors when feeding prisoners
This error pops up suddenly and unexpectedly, random at some times when my colonists try to feed my prisoners meals.

Exception in Verse.AI.ThinkNode_Priority TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
at PrisonLabor.FoodUtility_Tweak.ThoughtsFromIngesting (Verse.Pawn ingester, Verse.Thing t) [0x00000] in <filename unknown>:0
at PrisonLabor.FoodUtility_Tweak.FoodSourceOptimality (Verse.Pawn eater, Verse.Thing t, Single dist, Boolean takingToInventory) [0x00000] in <filename unknown>:0
at PrisonLabor.FoodUtility_Tweak.SpawnedFoodSearchInnerScan (Verse.Pawn eater, IntVec3 root, System.Collections.Generic.List`1 searchSet, PathEndMode peMode, TraverseParms traverseParams, Single maxDistance, System.Predicate`1 validator) [0x00000] in <filename unknown>:0
at PrisonLabor.FoodUtility_Tweak.BestFoodSourceOnMap (Verse.Pawn getter, Verse.Pawn eater, Boolean desperate, FoodPreferability maxPref, Boolean allowPlant, Boolean allowDrug, Boolean allowCorpse, Boolean allowDispenserFull, Boolean allowDispenserEmpty, Boolean allowForbidden, Boolean allowSociallyImproper) [0x00000] in <filename unknown>:0
at PrisonLabor.FoodUtility_Tweak.TryFindBestFoodSourceFor (Verse.Pawn getter, Verse.Pawn eater, Boolean desperate, Verse.Thing& foodSource, Verse.ThingDef& foodDef, Boolean canRefillDispenser, Boolean canUseInventory, Boolean allowForbidden, Boolean allowCorpse, Boolean allowSociallyImproper) [0x00000] in <filename unknown>:0
at PrisonLabor.JobGiver_Diet.TryGiveJob (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, JobIssueParams jobParams) [0x00000] in <filename unknown>:0
at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, JobIssueParams jobParams) [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_SubtreesByTag:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob_Patch3(Object, ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:CheckForJobOverride()
RimWorld.<LayDown>c__AnonStorey0:<>m__1()
Verse.AI.JobDriver:DriverTick_Patch1(Object)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick_Patch2(Object)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

Need help with this issue plz
< >
Showing 1-2 of 2 comments
Sarn 24 Oct, 2019 @ 4:29pm 
I have the same problem...:lunar2019crylaughingpig:
snarfables 25 Oct, 2019 @ 11:09am 
Also having the same problem and error lol
< >
Showing 1-2 of 2 comments
Per page: 1530 50