DevMode spawning items tool doesnt work.

Started by SeveralPeople, September 18, 2021, 07:37:45 PM

Previous topic - Next topic

SeveralPeople

The error that pops up is this:

Exception filling window for Verse.Dialog_DebugActionsMenu: System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.DebugThingPlaceHelper.IsDebugSpawnable (Verse.ThingDef def, System.Boolean allowPlayerBuildable) [0x0007e] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.DebugThingPlaceHelper+<>cDisplayClass2_0.<TryPlaceOptionsForStackCount>b0 (Verse.ThingDef def) [0x00000] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
  at Verse.DebugThingPlaceHelper.TryPlaceOptionsForStackCount (System.Int32 stackCount, System.Boolean direct) [0x00080] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.DebugToolsSpawning.TryPlaceNearStacksOf25 () [0x00005] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.Dialog_DebugOptionLister.DebugAction (System.String label, System.Action action, System.Boolean highlight) [0x0003f] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.Dialog_DebugActionsMenu.DoListingItems () [0x00077] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.Dialog_OptionLister.DoWindowContents (UnityEngine.Rect inRect) [0x00176] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)


Heres the Hugslib log: https://gist.github.com/28c660d6f765a591b5e0901c2af74d2e

Any idea how to fix it? Thanks in advance!

Canute

Hi,
when you don't use mods, just complete delete the installation folder (not uninstal) and reinstal/repair it.
At this way you get right of old unwanted files (that uninstal wouldn't delete).

When you use mods, remove mods until it works again.