RimWorld

RimWorld

Androids for RW 1.5
Kittamaru 19 Jul, 2023 @ 12:40pm
Error preventing Dev Console from opening
This mod and/or the Battle Armor for Androids mod is causing a weird error that prevents the dev console from being opened:

Exception filling window for Verse.ImmediateWindow: System.Collections.Generic.KeyNotFoundException:
The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in
<eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.Dialog_Debug.SwitchTab (Verse.DebugTabMenuDef def) [0x0004c] in
<95de19971c5d40878d8742747904cdcd>:0
at Verse.Dialog_Debug..ctor (Verse.DebugTabMenuDef def) [0x0002d] in
<95de19971c5d40878d8742747904cdcd>:0
at Verse.DebugWindowsOpener.ToggleDebugActionsMenu () [0x00013] in
<95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method)
Verse.DebugWindowsOpener.Verse.DebugWindowsOpener.DrawButtons_Patch0(Verse.DebugWindowsOpener)
at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in
<95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate
(UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)



When looking in RimPy's Log Analyzer:

Exception filling window for Verse.ImmediateWindow: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key)
at Verse.Dialog_Debug.SwitchTab (Verse.DebugTabMenuDef def)
at Verse.Dialog_Debug..ctor (Verse.DebugTabMenuDef def)
at Verse.DebugWindowsOpener.ToggleDebugActionsMenu ()
at (wrapper dynamic-method) Verse.DebugWindowsOpener.Verse.DebugWindowsOpener.DrawButtons_Patch0(Verse.DebugWindowsOpener)
at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect)
at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int)



Verse.DebugWindowsOpener.Verse.DebugWindowsOpener.DrawButtons_Patch0 was patched by:
TRANS:
HugsLib.Patches.DebugWindowsOpener_Patch.DrawAdditionalButtons,
VFECore.DebugWindowsOpener_DrawButtons_Patch.Transpiler

Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0 was patched by:
TRANS:
TDS_Bug_Fixes.FixWindowDragInsteadOfReorderable.Transpiler

I removed the TDS bug fixes first, no change. Removed Androids and the Battle Armor mod, and it works again.
< >
Showing 1-5 of 5 comments
Silver Felyne 22 Jul, 2023 @ 3:15pm 
I am having the same problem. I thought it was fixed by uninstalling and reinstalling, but I didn't have the Androids mod activated when it actually worked.

I can at least narrow it down. It's only this mod, not an incompatibility. Checked it as the only mod (with and without HAR) and Dev mode doesn't open if it's active.
firedragonmc  [developer] 23 Jul, 2023 @ 8:03pm 
It's fixed in the new update
GreenSlime 23 Jul, 2023 @ 9:29pm 
Originally posted by firedragonmc:
It's fixed in the new update

Just unsubscribed and subscribed again and loaded it up with only Core, HAR, and this mod. dev console is still broken and I can't open up android customization menu:

Edit: Figured out the problem, my HAR was out of date, whoops.
Last edited by GreenSlime; 23 Jul, 2023 @ 9:41pm
Kittamaru 24 Jul, 2023 @ 7:42am 
Originally posted by firedragonmc:
It's fixed in the new update

Sweeeet, thanks mate!
Is Orc Pis 2 Nov, 2023 @ 2:01pm 
In the latest version, I am still unable to turn on the printer. May I know the reason?
< >
Showing 1-5 of 5 comments
Per page: 1530 50