Skip to content

RW 1.4 right-click unsubscribe fails #171

@Maeyanie

Description

@Maeyanie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions