RimWorld

RimWorld

Big and Small - Genes & More
Incompatibility with VFE - Empire 1.6
i run into issue with placing smith bench in a room where vfe empire mod run evaluation whether determine what kind of room is it. the error throw null and pawn cant do any job in the bench.

While big and small gene & more doesnt mention in the log but i tried to use binary search method and found out remove this mod help with the issue
here is the log when placing smith bench:
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 606425CE]
at RimWorld.RoomRoleWorker_Kitchen.GetScore (Verse.Room room) [0x00060] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.Room.<UpdateRoomStatsAndRole>b__117_0 (Verse.RoomRoleDef x) [0x00006] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector, System.Collections.Generic.IComparer`1[T] comparer) [0x0005c] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x00007] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.Room.UpdateRoomStatsAndRole () [0x000ba] in <fcfab19af5d14a608a65ebd77f29482f>:0
- POSTFIX VFEEmpire.Mod: Void VFEEmpire.MapComponent_RoyaltyTracker:Room_UpdateRoomStatsAndRole_Postfix(Room __instance, RoomRoleDef ___role)
at Verse.Room.get_Role () [0x00008] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.StatPart_WorkTableRoomRole.WouldApplyToBuildingIfPlaced (Verse.ThingDef def, Verse.Map map, Verse.IntVec3 cell) [0x00048] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.PlaceWorker_ReportWorkSpeedPenalties.PostPlace (Verse.Map map, Verse.BuildableDef def, Verse.IntVec3 loc, Verse.Rot4 rot) [0x0001d] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.Designator_Build.DesignateSingleCell (Verse.IntVec3 c) [0x002fe] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.DesignatorManager.ProcessInputEvents () [0x00050] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.MapInterface.HandleMapClicks () [0x00010] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x0009d] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.Root.OnGUI () [0x00046] in <fcfab19af5d14a608a65ebd77f29482f>:0
- POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered()
UnityEngine.StackTraceUtility:ExtractStackTrace ()


Here is the log when pawn trying to do the job in that bench placed
Exception in JobDriver tick for pawn Todor driver=JobDriver_DoBill (toilIndex=15) driver.job=(DoBill (Job_1106527) A = Thing_ElectricSmithy402343 B = Thing_UnfinishedAmmo402942 C = (29, 0, 174) Giver = JobGiver_Work [workGiverDef: DoBillsMakeWeapons])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 3AA0AE4C]
at RimWorld.RoomRoleWorker_Kitchen.GetScore (Verse.Room room) [0x00060] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.Room.<UpdateRoomStatsAndRole>b__117_0 (Verse.RoomRoleDef x) [0x00006] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector, System.Collections.Generic.IComparer`1[T] comparer) [0x0005c] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x00007] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.Room.UpdateRoomStatsAndRole () [0x000ba] in <fcfab19af5d14a608a65ebd77f29482f>:0
- POSTFIX VFEEmpire.Mod: Void VFEEmpire.MapComponent_RoyaltyTracker:Room_UpdateRoomStatsAndRole_Postfix(Room __instance, RoomRoleDef ___role)
at Verse.Room.get_Role () [0x00008] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.StatPart_WorkTableRoomRole.Applies (Verse.Thing parent) [0x00036] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.StatPart_WorkTableRoomRole.TransformValue (RimWorld.StatRequest req, System.Single& val) [0x00023] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.StatWorker.FinalizeValue (RimWorld.StatRequest req, System.Single& val, System.Boolean applyPostProcess) [0x00022] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.StatWorker.GetValue (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x0004c] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.StatWorker.GetValue (Verse.Thing thing, System.Boolean applyPostProcess, System.Int32 cacheStaleAfterTicks) [0x0007c] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.StatExtension.GetStatValue (Verse.Thing thing, RimWorld.StatDef stat, System.Boolean applyPostProcess, System.Int32 cacheStaleAfterTicks) [0x0000c] in <fcfab19af5d14a608a65ebd77f29482f>:0
- POSTFIX OskarPotocki.VanillaSocialInteractionsExpanded: Void VanillaSocialInteractionsExpanded.GetStatValue_Patch:Postfix(Thing thing, StatDef stat, Boolean applyPostProcess, Single& __result)
at Verse.AI.Toils_Recipe+<>c__DisplayClass2_0.<DoRecipeWork>b__2 (System.Int32 delta) [0x00112] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.AI.JobDriver.DriverTickInterval (System.Int32 delta) [0x0009f] in <fcfab19af5d14a608a65ebd77f29482f>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch2 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:DriverTickInterval (int)
Verse.AI.Pawn_JobTracker:JobTrackerTickInterval (int)
Verse.Pawn:TickInterval (int)
Verse.Thing:DoTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch2 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch2 (Verse.TickManager)
Verse.Game:UpdatePlay ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
< >
Showing 1-1 of 1 comments
H8C | SO3 23 Jul @ 11:44am 
There is a work around by placing smith bench outside room everything seem craft normally except for Giant JaveIn whcih throw jobdriver error and pawn can't craft it
Here is log while pawn crafting it:
JobDriver threw exception in toil MakeUnfinishedThingIfNeeded's initAction for pawn Skinner driver=JobDriver_DoBill (toilIndex=14) driver.job=(DoBill (Job_3855) A = Thing_ElectricSmithy30568 B = Thing_Steel30700 C = (75, 0, 127) Giver = JobGiver_Work [workGiverDef: DoBillsMakeWeapons])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 1DCF6ED5]
at Verse.AI.Toils_Recipe+<>c.<CalculateDominantIngredient>b__5_1 (Verse.ThingDefCountClass x) [0x00000] in <fcfab19af5d14a608a65ebd77f29482f>:0
at System.Collections.Generic.List`1[T].FindIndex (System.Int32 startIndex, System.Int32 count, System.Predicate`1[T] match) [0x00033] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Collections.Generic.List`1[T].FindIndex (System.Predicate`1[T] match) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at Verse.GenCollection.Any[T] (System.Collections.Generic.List`1[T] list, System.Predicate`1[T] predicate) [0x00000] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.AI.Toils_Recipe.CalculateDominantIngredient (Verse.AI.Job job, System.Collections.Generic.List`1[T] ingredients) [0x0008c] in <fcfab19af5d14a608a65ebd77f29482f>:0
- TRANSPILER Uuugggg.rimworld.TD_Enhancement_Pack.main: IEnumerable`1 TD_Enhancement_Pack.Dominate:Transpiler(IEnumerable`1 instructions)
at Verse.AI.Toils_Recipe+<>c__DisplayClass1_0.<MakeUnfinishedThingIfNeeded>b__0 () [0x00046] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <fcfab19af5d14a608a65ebd77f29482f>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch2 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.StartPath_Patch3 (Verse.AI.Pawn_PathFollower,Verse.LocalTargetInfo,Verse.AI.PathEndMode)
Verse.AI.Toils_Goto/<>c__DisplayClass1_0:<GotoThing>b__0 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:JumpToToil (Verse.AI.Toil)
Verse.AI.Toils_Haul/<>c__DisplayClass8_0:<PlaceHauledThingInCell>b__0 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:Notify_PatherArrived ()
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch1 (Verse.AI.Pawn_PathFollower)
Verse.AI.Pawn_PathFollower:PatherTick ()
Verse.Pawn:Tick ()
Verse.Thing:DoTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch2 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch2 (Verse.TickManager)
Verse.Game:UpdatePlay ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
< >
Showing 1-1 of 1 comments
Per page: 1530 50