You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When launching the game the mod manager show that the mod is failing to load due to a target invocation exception being thrown on a call to System.Boolean EnhancedInventory.Hooks.ItemsFilter_ShouldShowItem_Blueprint::Prefix(Kingmaker.UI.Common.FilterType filter, System.Boolean& __result) with exception message System.ArgumentException: Undefined target method for patch
Version
Game version: 0.25.0.0
Mod version: 1.0.10
Manager version: 0.23.3
Relevant information
Had toybox mod installed previously and used many of the QoL settings from it
Tried to launch game with all other mods uninstalled and ran into the same error
[EnhancedInventory] Version '1.0.10'. Loading.
[EnhancedInventory] Optional mod 'InventorySearchBar' not found.
[EnhancedInventory] Optional mod 'WeightValueSorting' not found.
[EnhancedInventory] Optional mod 'HighlightImportantLoot' not found.
[EnhancedInventory] [Error] Error trying to call 'EnhancedInventory.Main.Load'.
[EnhancedInventory] [Exception] TargetInvocationException - Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Boolean EnhancedInventory.Hooks.ItemsFilter_ShouldShowItem_Blueprint::Prefix(Kingmaker.UI.Common.FilterType filter, System.Boolean& __result)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <5c856fb19ddb469d99459756a2e14341>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x0006a] in <5c856fb19ddb469d99459756a2e14341>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00127] in <5c856fb19ddb469d99459756a2e14341>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00095] in <5c856fb19ddb469d99459756a2e14341>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <5c856fb19ddb469d99459756a2e14341>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <5c856fb19ddb469d99459756a2e14341>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <5c856fb19ddb469d99459756a2e14341>:0
at EnhancedInventory.Main.Load (UnityModManagerNet.UnityModManager+ModEntry modEntry) [0x00067] in D:\_wotr\code\EnhancedInventory\EnhancedInventory\src\Main.cs:48
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <695d1cc93cca45069c528c15c9fdd749>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at UnityModManagerNet.UnityModManager+ModEntry.Invoke (System.String namespaceClassnameMethodname, System.Object& result, System.Object[] param, System.Type[] types) [0x00011] in <f46f63280a534843a2ef651655112f1e>:0
[EnhancedInventory] Not loaded.
[EnhancedInventory] Loading time 0.04 s.
The text was updated successfully, but these errors were encountered:
Summary
When launching the game the mod manager show that the mod is failing to load due to a target invocation exception being thrown on a call to
System.Boolean EnhancedInventory.Hooks.ItemsFilter_ShouldShowItem_Blueprint::Prefix(Kingmaker.UI.Common.FilterType filter, System.Boolean& __result)
with exception messageSystem.ArgumentException: Undefined target method for patch
Version
Game version: 0.25.0.0
Mod version: 1.0.10
Manager version: 0.23.3
Relevant information
Log
Full log: Player.log
Excerpt from log for enhanced inventory lines:
The text was updated successfully, but these errors were encountered: