RimWorld

RimWorld

AA02MobileArmor
Ren 9 Apr, 2023 @ 11:28pm
Can't Spawn Thing in dev mode
When using this with CE you can't do "Spawn Thing". Using only CE and this and it's dependency the error occurs. Can't give a hugslib log, it doesn't seem to work, but it only throws two errors.

Exception filling window for Verse.Dialog_Debug: System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) Verse.DebugThingPlaceHelper.Verse.DebugThingPlaceHelper.IsDebugSpawnable_Patch1(Verse.ThingDef,bool)
at Verse.DebugThingPlaceHelper+<>c__DisplayClass2_0.<TryPlaceOptionsForStackCount>b__0 (Verse.ThingDef def) [0x00000] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Verse.DebugThingPlaceHelper.TryPlaceOptionsForStackCount (System.Int32 stackCount, System.Boolean direct) [0x0007c] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at Verse.DebugToolsSpawning.TryPlaceNearThing () [0x00000] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at Verse.DebugActionNode.TrySetupChildren () [0x00010] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at Verse.DebugActionNode.Enter (Verse.Dialog_Debug dialog) [0x00000] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at Verse.Dialog_Debug.DoButton (Verse.DebugActionNode node, System.Boolean highlight) [0x00042] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at Verse.Dialog_Debug.DrawNode (Verse.DebugActionNode node, System.Boolean highlight) [0x00017] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at Verse.DebugTabMenu.ListOptions (System.Int32 highlightedIndex) [0x00064] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at Verse.Dialog_Debug.DoWindowContents (UnityEngine.Rect inRect) [0x0020f] in <3cca3e6203e64b109fd8ce21f7120d03>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <3cca3e6203e64b109fd8ce21f7120d03>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

and

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