Dev Windows wont open anymore

Started by Zyst0, May 06, 2023, 10:11:03 AM

Previous topic - Next topic

Zyst0

I am facing a problem: In Rimworld I have enabled the developer options and always had access to a developer palette with various options. Additionally, there is the debug action menu in Rimworld. Unfortunately, I can no longer open these windows. Everything else works fine, except that. The error I am getting is as follows:


Exception filling window for Verse.ImmediateWindow: System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.DebugThingPlaceHelper.IsDebugSpawnable (Verse.ThingDef def, System.Boolean allowPlayerBuildable) [0x0007e] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.DebugThingPlaceHelper+<>c__DisplayClass2_0.<TryPlaceOptionsForStackCount>b__0 (Verse.ThingDef def) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
  at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at (wrapper dynamic-method) Verse.DebugThingPlaceHelper.Verse.DebugThingPlaceHelper.TryPlaceOptionsForStackCount_Patch0(int,bool)
  at Verse.DebugToolsSpawning.TryPlaceNearFullStack () [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.DebugActionNode.TrySetupChildren () [0x00010] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.Dialog_Debug.GetNode (System.String path) [0x0005d] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.Dialog_DevPalette.EnsureAllNodesValid () [0x00021] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.Dialog_DevPalette..ctor () [0x0006d] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.DebugWindowsOpener.TryOpenOrClosePalette () [0x0000c] 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_Patch1 (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)

Elwinkerl

Quote from: Zyst0 on May 06, 2023, 10:11:03 AMI am facing a problem: In Rimworld I have enabled the developer options and always had access to a developer palette with various options. Additionally, there is the debug action menu in Rimworld. Unfortunately, I can no longer open these windows. Everything else works fine, except that. The error I am getting is as follows:


avatar gameException filling window for Verse.ImmediateWindow: System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.DebugThingPlaceHelper.IsDebugSpawnable (Verse.ThingDef def, System.Boolean allowPlayerBuildable) [0x0007e] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.DebugThingPlaceHelper+<>c__DisplayClass2_0.<TryPlaceOptionsForStackCount>b__0 (Verse.ThingDef def) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
  at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at (wrapper dynamic-method) Verse.DebugThingPlaceHelper.Verse.DebugThingPlaceHelper.TryPlaceOptionsForStackCount_Patch0(int,bool)
  at Verse.DebugToolsSpawning.TryPlaceNearFullStack () [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.DebugActionNode.TrySetupChildren () [0x00010] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.Dialog_Debug.GetNode (System.String path) [0x0005d] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.Dialog_DevPalette.EnsureAllNodesValid () [0x00021] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.Dialog_DevPalette..ctor () [0x0006d] in <95de19971c5d40878d8742747904cdcd>:0
  at Verse.DebugWindowsOpener.TryOpenOrClosePalette () [0x0000c] 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_Patch1 (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)

Have you solved it?


MeSoLost

I just had this issue myself.  It was working with Rae's turret mod before so probably wasn't that one although it was in conflict/overwriting VE more turrets so it went as well.  I had installed and at this point disabled 3 other mods that did more than basic changes to dialogs.  XML extensions, DragSelect, and Assignment Copy.  If  you had recently installed those try disabling them.  I don't know which one of the 3 it was specifically but I got my pallet back and can live without those QOL tweaks for all the dialogs to work properly.

Hope this helps at least one person cuz I hate finding dead threads with no answer so here am I being a solution and posting my fix.  If it was not one of these mods then think to the last mod or mods you enabled that modify any dialog window OR BUTTON! like the little > after mods that XML Extensions adds and start with disabling that. ^_^