RimWorld

RimWorld

Megafauna
TSense Oct 29, 2022 @ 12:14pm
Bug Report
Buthering a Megalochelys corpse in 1.4 gives me a Megalochelys corpse and the following error message:


JobDriver threw exception in toil FinishRecipeAndStartStoringProduct's initAction for pawn Sense driver=JobDriver_DoBill (toilIndex=27) driver.job=(DoBill (Job_29442) A=Thing_TableButcher51845 B=Thing_Corpse_Megalochelys46918 C=(127, 0, 121))
System.MissingMethodException: single RimWorld.StatExtension.GetStatValue(Verse.Thing,RimWorld.StatDef,bool)
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.ButcherProducts_Patch3(Verse.Pawn,Verse.Pawn,single)
at Verse.Corpse+<ButcherProducts>d__40.MoveNext () [0x0002a] in <f4c3e52a3fec4807a874d50b5e1c361f>:0
at DMD<>?-972346624.Verse.GenRecipe+<MakeRecipeProducts>d__0.MoveNext_Patch0 (Verse.GenRecipe+<MakeRecipeProducts>d__0 this) [0x00373] in <2f83144afa924691ab6f1e29731a67ae>:0
at TD_Enhancement_Pack.ColorVariation+<Variate>d__2.MoveNext () [0x00060] in <5944fa15508a4e25a1397f3ca50491d8>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00077] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at (wrapper dynamic-method) Verse.AI.Toils_Recipe+<>c__DisplayClass3_0.Verse.AI.Toils_Recipe+c__DisplayClass3_0.<FinishRecipeAndStartStoringProduct>b__0_Patch0(Verse.AI.Toils_Recipe/<>c__DisplayClass3_0)
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <f4c3e52a3fec4807a874d50b5e1c361f>: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_Patch3 (Verse.Pawn)
(wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch2 (Verse.TickList)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
< >
Showing 1-3 of 3 comments
Spino  [developer] Nov 6, 2022 @ 9:19am 
Appears to be a mod conflict of some sort, tested it just now with only Harmony and Megafauna enabled and butchering Megalochelys throws no errors.
TSense Nov 6, 2022 @ 11:18am 
Seems to have been a conflict with Rim of Madness: Bones
Magog Jan 22 @ 10:44pm 
Failed to find any textures at Things/Pawn/Animal/Elk/MegareindeerFemale_Dessicated while constructing Multi(initPath=Things/Pawn/Animal/Elk/MegareindeerFemale_Dessicated, color=RGBA(1.000, 1.000, 1.000, 1.000), colorTwo=RGBA(1.000, 1.000, 1.000, 1.000))
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Graphic_Multi:Init (Verse.GraphicRequest)
Verse.GraphicDatabase:GetInner<Verse.Graphic_Multi> (Verse.GraphicRequest)
Verse.GraphicDatabase:Get (Verse.GraphicRequest)
Verse.GraphicDatabase:Get (System.Type,string,UnityEngine.Shader,UnityEngine.Vector2,UnityEngine.Color,UnityEngine.Color,Verse.GraphicData,System.Collections.Generic.List`1<Verse.ShaderParameter>,string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.GraphicData.Init_Patch1 (Verse.GraphicData)
Verse.GraphicData:get_Graphic ()
CombatExtended.BoundsInjector:Inject ()
Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&)
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
< >
Showing 1-3 of 3 comments
Per page: 1530 50