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

RW 1.4 right-click unsubscribe fails #171

Open
Maeyanie opened this issue Oct 28, 2022 · 2 comments
Open

RW 1.4 right-click unsubscribe fails #171

Maeyanie opened this issue Oct 28, 2022 · 2 comments
Labels
bug Something isn't working unverified

Comments

@Maeyanie
Copy link

Describe the bug
In RimWorld 1.4, right-clicking a Steam mod in the list and unsubscribing no longer works.

Steps to reproduce

  1. Go to the Mods screen
  2. Rightclick a Steam mod
  3. Unsubscribe
  4. Confirm

Other mods
Unlikely.

Output log
I can post a complete log if you like, but the important bit:

Exception filling window for Verse.Dialog_MessageBox: System.Reflection.AmbiguousMatchException: Ambiguous match in Harmony patch for Verse.Steam.Workshop:Unsubscribe ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
  at System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00059] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) [0x0000e] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at HarmonyLib.AccessTools+<>c__DisplayClass27_0.<Method>b__0 (System.Type t) [0x00000] in <255414689d344b1385ae719f6cce8c55>:0 
  at HarmonyLib.AccessTools.FindIncludingBaseTypes[T] (System.Type type, System.Func`2[T,TResult] func) [0x00000] in <255414689d344b1385ae719f6cce8c55>:0 
  at HarmonyLib.AccessTools.Method (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x0004b] in <255414689d344b1385ae719f6cce8c55>:0 
   --- End of inner exception stack trace ---
  at HarmonyLib.AccessTools.Method (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x0008e] in <255414689d344b1385ae719f6cce8c55>:0 
  at ModManager.Workshop.Unsubscribe (Verse.ModMetaData mod, System.Boolean force) [0x0001c] in <2ca82dec63114fd79277fc14a069ebde>:0 
  at ModManager.Workshop+<>c__DisplayClass0_0.<Unsubscribe>b__0 () [0x00000] in <2ca82dec63114fd79277fc14a069ebde>:0 
  at Verse.Dialog_MessageBox.DoWindowContents (UnityEngine.Rect inRect) [0x00225] in <501333add04d433e9b8a51d43bed4954>:0 
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <501333add04d433e9b8a51d43bed4954>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Save game
Unnecessary.

Screenshots
I'm pretty sure that stack trace will be far more useful. :)

Environment

  • OS: Win10 x64

Game

  • 64 bits
  • Steam
  • 1.4.3529
@Maeyanie Maeyanie added bug Something isn't working unverified labels Oct 28, 2022
@Maeyanie
Copy link
Author

Since there's a relatively easy work-around I'd consider this fairly low priority, but figured someone should report it. :)

@avml7
Copy link

avml7 commented Aug 28, 2023

I have this same issue with the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

2 participants