Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joshuafcole opened this issue Aug 12, 2021 · 1 comment

Comments

@joshuafcole
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant