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

[BUG] Contained items dissappear when shift-right clicking deep storage cells. #49

Open
joshuafcole opened this issue Aug 12, 2021 · 0 comments
Assignees
Labels
Bug Something isn't working

Comments

@joshuafcole
Copy link

Describe the bug
All items stored on a particular tile disappear until the save is reloaded if the tile is shift right clicked with a pawn selected (as to queue an action).

To Reproduce
Steps to reproduce the behavior:

  1. Construct a Deep Storage building
  2. Store some stuff in it
  3. Select a pawn
  4. Shift right click a tile of the building which has stacks in it.

Expected behavior
The right click menu should show and nothing should disappear.

Additional context
Full log: https://gist.github.com/fbda84474710741c9b6767bf321dc72d

Exception thrown on shift right click:

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)

Original report I filed on LWM's DS GH: lilwhitemouse/RimWorld-LWM.DeepStorage#111

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

@joshuafcole joshuafcole added the Bug Something isn't working label Aug 12, 2021
@joshuafcole joshuafcole changed the title [BUG] Contained items dissappear when shift-right clicking deep storage cells.[BUG] Issue Title [BUG] Contained items dissappear when shift-right clicking deep storage cells. Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants