RimWorld

RimWorld

[1.4] Vanilla Factions Expanded - Medieval
Sanderoth Jul 3, 2023 @ 1:50am
Job processing not finishing correctly - cooking and stone cutting so far
I've narrowed this error down to this mod, using maynard story teller. Can't process cooking or stone cutting properly - doesn't produce final product:

JobDriver threw exception in toil FinishRecipeAndStartStoringProduct's initAction for pawn Vaughn driver=JobDriver_DoBill (toilIndex=16) driver.job=(DoBill (Job_1732) A=Thing_FueledStove33617 B=Thing_RawRice33658 C=(123, 0, 122))
System.NullReferenceException: Object reference not set to an instance of an object
at Verse.AI.Toils_Recipe+<>c__DisplayClass3_0.<FinishRecipeAndStartStoringProduct>b__0 () [0x000f2] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.Toils_Recipe/<>c__DisplayClass2_0:<DoRecipeWork>b__1 ()
Verse.AI.JobDriver:DriverTick ()
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()


There may be other jobs affected, not tried them all. Only mod used:

Harmony
Mod Manager
EDB Prepare Carfully
Vanilla Framework
Vanilla Factions - Medieval
< >
Showing 1-6 of 6 comments
SMERSH Aug 19, 2023 @ 9:57pm 
I have exactly the same problem. There are no cooking problems in vanilla scenarios
Is this the full list of mods you use?
Sanderoth Aug 22, 2023 @ 3:16am 
Originally posted by SMERSH:
I have exactly the same problem. There are no cooking problems in vanilla scenarios
Is this the full list of mods you use?

For this test, as I wanted to boil it down to as few mods as possible (probably could have got rid of EDB for the test, but alas). Actual mod list I use has to be over 80 mods at this point....
Scorn Sep 8, 2023 @ 3:04pm 
Same issue, error log is identical. However for me, I get the error on *ANY* storyteller, not just Maynard.
Az Jan 4, 2024 @ 9:01pm 
This bug still exists. Here is my error log:

JobDriver threw exception in toil FinishRecipeAndStartStoringProduct's initAction for pawn Maxime driver=JobDriver_DoBill (toilIndex=31) driver.job=(DoBill (Job_164564) A=Thing_RGK_FueledStove64872 B=Thing_RawBerries64928 C=(186, 0, 149))
System.NullReferenceException: Object reference not set to an instance of an object
at Verse.AI.Toils_Recipe+<>c__DisplayClass3_0.<FinishRecipeAndStartStoringProduct>b__0 () [0x000f2] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <cd7169108ea74757aa50c5b33d275c15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.Toils_Recipe/<>c__DisplayClass2_0:<DoRecipeWork>b__1 ()
(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)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch4 (Verse.Game)
Verse.Root_Play:Update ()
Last edited by Az; Jan 4, 2024 @ 9:04pm
Originally posted by Sanderoth:
I've narrowed this error down to this mod, using maynard story teller. Can't process cooking or stone cutting properly - doesn't produce final product:


Since apparently nobody cares at all about VFE:M - the issue is at least 2 years old and the solution is even here in the Discussions.

The FactionDef is missing the <allowedCultures> tag - which errors when used with Ideology.
The fix is rather simple though - so you can fix it locally. We've recently reported that via a better pipeline to the VE people, so maybe we'll get this officially fixed before VFE:M 2 comes out.

https://steamcommunity.com/workshop/filedetails/discussion/2023513450/3818529563379997786/
Wedge Mar 5, 2024 @ 2:04pm 
I've had this issue occur to me on a couple occasions and I noticed that this exclusively happens if you play with the New Kingdom Scenario (at least, starting culture is medieval) and you have Ideology installed, but have it disabled whilst in play.

Playing with Ideology enabled (and thus, whatever memes you want enabled) circumvents it.
< >
Showing 1-6 of 6 comments
Per page: 1530 50