RimWorld

RimWorld

Random Chance
BIG SOUP Sep 2, 2023 @ 2:54pm
Very cool mod, but I'm having an issue with pawns infinitely starting and dropping work
Exception in JobDriver tick for pawn King driver=JobDriver_DoBill (toilIndex=29) driver.job=(DoBill (Job_888947) A=Thing_ElectricTailoringBench79009 B=Thing_UnfinishedApparel88668 C=(128, 0, 151))
System.NullReferenceException: Object reference not set to an instance of an object
at RandomChance.ToilsRecipeDoRecipeWork_Transpiler.TryGiveRandomFailure (Verse.Pawn actor, Verse.AI.Job curJob, Verse.AI.JobDriver_DoBill jobDriver, RimWorld.Building_WorkTable building) [0x00036] in <f7c141215b554724b897bbfd73ef35e1>:0
at (wrapper dynamic-method) Verse.AI.Toils_Recipe+<>c__DisplayClass2_0.Verse.AI.Toils_Recipe+c__DisplayClass2_0.<DoRecipeWork>b__1_Patch0(Verse.AI.Toils_Recipe/<>c__DisplayClass2_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.Warning_Patch0 (string)
(wrapper dynamic-method) Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (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_Patch1 (Verse.Pawn)
(wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch2 (Verse.TickList)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch9 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

This is spammed while the pawn is picking up the unfinished product, then dropping, then repeating ad infinitum.

Very likely some cross-mod issue, I have quite a lot of mods.
Last edited by BIG SOUP; Sep 2, 2023 @ 2:56pm
< >
Showing 1-10 of 10 comments
Sunlight88 Sep 8, 2023 @ 7:48am 
Yes, me too.
I believe, it is this mod here. Deactivating for now...
Yes, seems to be your mod. After deactivation, my pawns are producing normally again...
Last edited by Sunlight88; Sep 8, 2023 @ 8:18am
Slikkelas Nov 1, 2023 @ 2:30am 
i also have this issue. a yellow error saying something about random chance. they just indeffinetly start and stop work especially crafting. but you can force them with no problem.
miliyx Feb 26, 2024 @ 1:28am 
+1, i have to manually command the pawn to start crafting to break the loop
skaven13 Jun 18, 2024 @ 12:57pm 
same here
moo Aug 8, 2024 @ 4:56pm 
+1 for this issue
MissingInAction Oct 23, 2024 @ 11:17pm 
+1 :/
I'm having the same issue, seems to be related to a null object reference when TryGiveRandomFailure() is called.
Scurvyez  [developer] Apr 21 @ 4:38am 
Originally posted by BIG SOUP:

...

This is spammed while the pawn is picking up the unfinished product, then dropping, then repeating ad infinitum.

Very likely some cross-mod issue, I have quite a lot of mods.

@BIG SOUP , @Sunlight88 , @Slikkelas , @oldnewone , @skaven13 , @Cretz , @moo , @MissingInAction , @Arthur GC , and whoever else I missed lmao, I'm working on a fix for this. I've found the issue! :D Sorry for the delay.... life happens....
< >
Showing 1-10 of 10 comments
Per page: 1530 50