RimWorld

RimWorld

Job In Bar
Winter May 2, 2024 @ 2:50am
[Dark.JobInBar] failed to check if a pawn's job should be drawn or not. (Was the pawn deleted?)
[Dark.JobInBar] failed to check if a pawn's job should be drawn or not. (Was the pawn deleted?)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Warning_Patch2 (string)
JobInBar.PawnLabelCustomColors_WorldComponent:GetDrawJobLabelFor (Verse.Pawn)
JobInBar.LabelUtils:GetShouldDrawJobLabel (Verse.Pawn)
JobInBar.LabelDrawer:DrawLabels (Verse.Pawn,UnityEngine.Vector2,RimWorld.ColonistBar,UnityEngine.Rect,single)
JobInBar.ColonistBarColonistDrawer_DrawColonist_Patch:Postfix (UnityEngine.Rect,Verse.Pawn,Verse.Map,bool,bool)
System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
TacticalGroups.TacticalGroups_ColonistBarColonistDrawer:DrawColonist (UnityEngine.Rect,Verse.Pawn,Verse.Map,bool,bool)
TacticalGroups.TacticalColonistBar:ColonistBarOnGUI ()
TacticalGroups.HarmonyPatches:ColonistBarOnGUI ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.ColonistBar.ColonistBarOnGUI_Patch1 (RimWorld.ColonistBar)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch2 (RimWorld.MapInterface)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.UIRoot_Play.UIRootOnGUI_Patch4 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnG

HoUI_Patch1 (Verse.Root)



It seems like there is an issue with the JobInBar code, specifically with the PawnLabelCustomColors_WorldComponent class. To fix this, we need to check if the pawn is null before proceeding with the job label drawing logic.
(Generated by Github Co-Pilot)
< >
Showing 1-11 of 11 comments
If this error persists for a long time, it may cause the game to crash.
Lorrdy May 28, 2024 @ 7:49am 
I have the same issue
SuperBoyOk May 29, 2024 @ 7:39pm 
same issue, had to disable mod to stop lagging
Alfador Jun 14, 2024 @ 5:54am 
I am having the same issue. Any solutions?
twink gaming Jun 15, 2024 @ 6:13am 
im having the same warning filling up my logs, could this be the one causing my framerate to drop?
Alfador Jun 15, 2024 @ 8:14am 
I had halved FPS and 3/4 TPS from this log spam occuring constantly.

Using the mod´s own ingame options to disable everything did seemingly NOT work.
Removing the mod from my modlist worked and performance drops stopped.
daylight Jun 26, 2024 @ 7:46am 
Same here. I had to disable. I miss this mod.
Dmoc4215 Jul 14, 2024 @ 8:33pm 
I set all pawn's job than no more error. I think if pawn has an empty job will cause this error.
Alfador Jul 15, 2024 @ 5:30am 
But its a performance tanking error spamm that still occurs even if the mod is disabled in its own settings.
Thats something that needs to be fixed, not work-arounded.
Esp since it seems that its also affecting "cant do this type of work" job slots.
Meyar Jul 23, 2024 @ 7:45am 
Originally posted by Dmoc4215:
I set all pawn's job than no more error. I think if pawn has an empty job will cause this error.
This also worked for me.
qwerty Jan 15 @ 5:41am 
Originally posted by Dmoc4215:
I set all pawn's job than no more error. I think if pawn has an empty job will cause this error.
I can't figure out which tasks?
Last edited by qwerty; Jan 15 @ 5:41am
< >
Showing 1-11 of 11 comments
Per page: 1530 50