level 5
EVE沙丘军团
楼主
A Mod caused an error [System.Exception]
Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.AmbiguousMatchException: Ambiguous match in Harmony patch for DistrictManager:GetPark ---> System.Reflection.AmbiguousMatchException: Ambiguous matching in method resolution
at System.Reflection.Binder.FindMostDerivedMatch (System.Reflection.MethodBase[] match) [0x00000] in <filename unknown>:0
at System.MonoType.GetMethodImpl (System.String name, BindingFlags bindingAttr, System.Reflection.Binder binder, CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00000] in <filename unknown>:0
at System.Type.GetMethod (System.String name, BindingFlags bindingAttr) [0x00000] in <filename unknown>:0
at HarmonyLib.AccessTools+<>c__DisplayClass18_0.<Method>b__0 (System.Type t) [0x00000] in <filename unknown>:0
at HarmonyLib.AccessTools.FindIncludingBaseTypes[MethodInfo] (System.Type type, System.Func`2 func) [0x00000] in <filename unknown>:0
at HarmonyLib.AccessTools.Method (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at HarmonyLib.AccessTools.Method (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x00000] in <filename unknown>:0
at EManagersLib.Patches.EDistrictManagerPatch.Enable (HarmonyLib.Harmony harmony) [0x00000] in <filename unknown>:0
at EManagersLib.EUtils.EnablePatches () [0x00000] in <filename unknown>:0
at EManagersLib.EModule+<>c.<OnEnabled>b__11_0 () [0x00000] in <filename unknown>:0
at CitiesHarmony.API.HarmonyHelper.DoOnHarmonyReady (System.Action action) [0x00000] in <filename unknown>:0
at EManagersLib.EModule.OnEnabled () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception
2022年09月19日 02点09分
1
Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.AmbiguousMatchException: Ambiguous match in Harmony patch for DistrictManager:GetPark ---> System.Reflection.AmbiguousMatchException: Ambiguous matching in method resolution
at System.Reflection.Binder.FindMostDerivedMatch (System.Reflection.MethodBase[] match) [0x00000] in <filename unknown>:0
at System.MonoType.GetMethodImpl (System.String name, BindingFlags bindingAttr, System.Reflection.Binder binder, CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00000] in <filename unknown>:0
at System.Type.GetMethod (System.String name, BindingFlags bindingAttr) [0x00000] in <filename unknown>:0
at HarmonyLib.AccessTools+<>c__DisplayClass18_0.<Method>b__0 (System.Type t) [0x00000] in <filename unknown>:0
at HarmonyLib.AccessTools.FindIncludingBaseTypes[MethodInfo] (System.Type type, System.Func`2 func) [0x00000] in <filename unknown>:0
at HarmonyLib.AccessTools.Method (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at HarmonyLib.AccessTools.Method (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x00000] in <filename unknown>:0
at EManagersLib.Patches.EDistrictManagerPatch.Enable (HarmonyLib.Harmony harmony) [0x00000] in <filename unknown>:0
at EManagersLib.EUtils.EnablePatches () [0x00000] in <filename unknown>:0
at EManagersLib.EModule+<>c.<OnEnabled>b__11_0 () [0x00000] in <filename unknown>:0
at CitiesHarmony.API.HarmonyHelper.DoOnHarmonyReady (System.Action action) [0x00000] in <filename unknown>:0
at EManagersLib.EModule.OnEnabled () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception