RimWorld

RimWorld

No more RiceWorld
Issue with corpses being eaten
If a pawn/animal eats a corpse, and that corpse is completely devoured, it will throw this error and no nutrition will be given. Done with a very minimal modlist so its not a conflict.

JobDriver threw exception in toil FinalizeIngest's initAction for pawn Svetlana driver=JobDriver_Ingest (toilIndex=9) driver.job=(Ingest (Job_928) A=Thing_Corpse_Turkey24092)
System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.FoodUtility.GetMeatSourceCategoryFromCorpse (Verse.Thing thing) [0x00012] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.FoodUtility.IsHumanlikeCorpseOrHumanlikeMeat (Verse.Thing source, Verse.ThingDef foodDef) [0x0000d] in <95de19971c5d40878d8742747904cdcd>:0
at NoMoreRiceWorld.Utils.GetNeedsAmount (Verse.Thing thing) [0x00029] in <2ceb6a0d8c46436b9fcd6e7ac53b228a>:0
at NoMoreRiceWorld.ThingsIngestedPatch.Postfix (Verse.Thing __instance, System.Single __result, Verse.Pawn& ingester, System.Single& nutritionWanted) [0x00008] in <2ceb6a0d8c46436b9fcd6e7ac53b228a>:0
at (wrapper dynamic-method) Verse.Thing.Verse.Thing.Ingested_Patch1(Verse.Thing,Verse.Pawn,single)
at RimWorld.Toils_Ingest+<>c__DisplayClass13_0.<FinalizeIngest>b__0 () [0x001a4] 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:DriverTick ()
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
< >
Showing 1-2 of 2 comments
Хокаге  [developer] 27 Jun, 2023 @ 3:48am 
Thank for report, it is fixed in last update
hooray
< >
Showing 1-2 of 2 comments
Per page: 1530 50