RimWorld

RimWorld

MiscRobots WorkTab support
Error log
Before I downloaded this mod I was getting an error which prevented me from activating the robots. Downloading this mod fixed that but ended up messing with the work tab graphic and repeating the following two errors a bunch of times. Once the errors stopped I was able to activate the robots but the work tab shrank to the point I couldn't see below the first three colonists/robots. Here are the errors:

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Widgets:EnsureMousePositionStackEmpty ()
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()

Exception filling window for MiscRobotsWorkTabSupport.MainTabWindow_WorkTabMod_Tabs: System.NullReferenceException: Object reference not set to an instance of an object
at WorkTab.PawnColumnWorker_WorkType.DoCell (UnityEngine.Rect rect, Verse.Pawn pawn, RimWorld.PawnTable table) [0x0001a] in <cd123ec7d4b943f4b5b6cdfbd2cbe016>:0
at WorkTab.PawnTable_PawnTableOnGUI.Prefix (RimWorld.PawnTable __instance, UnityEngine.Vector2 position, RimWorld.PawnTableDef ___def, UnityEngine.Vector2& ___scrollPosition) [0x00642] in <cd123ec7d4b943f4b5b6cdfbd2cbe016>:0
at (wrapper dynamic-method) RimWorld.PawnTable.RimWorld.PawnTable.PawnTableOnGUI_Patch2(RimWorld.PawnTable,UnityEngine.Vector2)
at RimWorld.MainTabWindow_PawnTable.DoWindowContents (UnityEngine.Rect rect) [0x00020] in <1b9c4c73530448bcbb33283e1d4d7d05>:0
at WorkTab.MainTabWindow_WorkTab.DoWindowContents (UnityEngine.Rect rect) [0x0000e] in <cd123ec7d4b943f4b5b6cdfbd2cbe016>:0
at MiscRobotsWorkTabSupport.MainTabWindow_WorkTabMod_Tabs.DoWindowContents (UnityEngine.Rect rect) [0x00174] in <5f00d42e769a4afd9a5badf152d7530f>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <1b9c4c73530448bcbb33283e1d4d7d05>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Showing 1-3 of 3 comments
cawphee.black Aug 5, 2021 @ 12:10am 
just so you know, even with this mod now, new robots just don't work with work tab in 1.3.

trying to activate a bot generates a pair of exceptions so they basically don't become active and don't become pawns that can be added to the list.

Check out the discussions on either the misc robots or the worktab mod pages for more details

The root cause is that misc robots makes a call to "SetPriority" on pawns and with the worktab mod this results in a null reference exception. Without worktab it all works just fine even this mod
Last edited by cawphee.black; Aug 5, 2021 @ 12:11am
EgotisticalElf  [developer] Aug 5, 2021 @ 12:11pm 
your error may be from Fluffy's WorkTab, simply from the callstack present. Not 100% sure though. Have you tried it w/o fluffy's mod?
jtseyman Jul 10 @ 6:08pm 
Here's my error:
Exception filling window for MiscRobotsWorkTabSupport.MainTabWindow_WorkTabMod_Tabs: System.BadImageFormatException: Could not resolve field token 0x04000007, due to: Could not load type of field 'MiscRobotsWorkTabSupport.UIWidgets:TabbedViewStackIndex' (3) due to: Could not resolve type with token 01000027 (from typeref, class/assembly System.Collections.Generic.Stack`1, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) assembly:mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 type:System.Collections.Generic.Stack`1 member:(null) signature:<none> assembly:data-0000013E9DF71010 type:UIWidgets member:(null) signature:<none>
File name: 'MiscRobotsWorkTabSupport'
[Ref FD9C950D] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch5 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Showing 1-3 of 3 comments
Per page: 1530 50