lilwhitemouse / RimWorld-LWM.DeepStorage

A mod for the game RimWorld that has a set of Deep Storage Units that allow storing more than one item at a location.
GNU General Public License v3.0
29 stars 36 forks source link

Contained items dissappear when shift-right clicking deep storage cells. #111

Open joshuafcole opened 3 years ago

joshuafcole commented 3 years ago

Here's the full log:

https://gist.github.com/fbda84474710741c9b6767bf321dc72d

And the exception thrown on click (final entry in the log):

Root level exception in OnGUI(): System.Reflection.TargetParameterCountException: Number of parameters specified does not match the expected number.
  at System.Reflection.MonoMethod.ConvertValues (System.Reflection.Binder binder, System.Object[] args, System.Reflection.ParameterInfo[] pinfo, System.Globalization.CultureInfo culture, System.Reflection.BindingFlags invokeAttr) [0x00016] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00011] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at DSGUI.DSGUI.Create (UnityEngine.Vector3 clickPosition, Verse.Pawn pawn, System.Boolean ordersOnly) [0x00221] in <ef00daaae3a3407cab0933f358d85c6c>:0 
  at DSGUI.HarmonyPatches+Selector_HandleMapClicks_Patch.Prefix () [0x0008f] in <ef00daaae3a3407cab0933f358d85c6c>:0 
  at (wrapper dynamic-method) RimWorld.Selector.RimWorld.Selector.HandleMapClicks_Patch3(RimWorld.Selector)
  at RimWorld.Selector.SelectorOnGUI () [0x00000] in <00638943358e4807bd44cd7bc8f572da>:0 
  at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <00638943358e4807bd44cd7bc8f572da>:0 
  at (wrapper dynamic-method) RimWorld.UIRoot_Play.RimWorld.UIRoot_Play.UIRootOnGUI_Patch2(RimWorld.UIRoot_Play)
  at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root) 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

May be related to #110 (though the exception is different) and/or #97 (I added Netrve's DSGUI mid-save).

Happy to test any recommended configuration swaps that would help diagnose the issue at your leisure.

joshuafcole commented 3 years ago

Actually, I just realized that DSGUI is the package name for Netrve's mod while writing that up, so I suspect this is on his end.