RimWorld

RimWorld

Random Chance
BIG SOUP 2. sep. 2023 kl. 14.54
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.
Sist redigert av BIG SOUP; 2. sep. 2023 kl. 14.56
< >
Viser 110 av 10 kommentarer
Sunlight88 8. sep. 2023 kl. 7.48 
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...
Sist redigert av Sunlight88; 8. sep. 2023 kl. 8.18
Slikkelas 1. nov. 2023 kl. 2.30 
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 26. feb. 2024 kl. 1.28 
+1, i have to manually command the pawn to start crafting to break the loop
skaven13 18. juni 2024 kl. 12.57 
same here
moo 8. aug. 2024 kl. 16.56 
+1 for this issue
MissingInAction 23. okt. 2024 kl. 23.17 
+1 :/
Arthur GC 15. mars kl. 18.05 
I'm having the same issue, seems to be related to a null object reference when TryGiveRandomFailure() is called.
Scurvyez  [utvikler] 21. apr. kl. 4.38 
Opprinnelig skrevet av 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....
< >
Viser 110 av 10 kommentarer
Per side: 1530 50