FelixReuthlinger/AutoMapPins

[Warning: HarmonyX] AccessTools.DeclaredMethod: Could not find method for type MineRock5 and name Start and parameters

Closed this issue · 1 comments

The addon isn't working for me. Here is the log file error.

[Info :FixItFelix.AutoMapPins] found category and pin config file 'D:\Games\Steam\steamapps\common\Valheim\BepInEx\config\FixItFelix.AutoMapPins.categories.vanilla.yaml'
[Info :FixItFelix.AutoMapPins] loading pin configs from files
[Info :FixItFelix.AutoMapPins] loaded 16 categories and a total of 189 pins across all categories from configuration
[Warning: HarmonyX] AccessTools.DeclaredMethod: Could not find method for type MineRock5 and name Start and parameters
ArgumentException: Undefined target method for patch method static void AutoMapPins.Patches.MineRock5Patch::Postfix(MineRock5& __instance)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x0006a] in <474744d65d8e460fa08cd5fd82b5d65f>:0
Rethrow as HarmonyException: Patching exception in method null
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0006c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00095] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.b__11_0 (System.Type type) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at AutoMapPins.AutoMapPinsPlugin.Awake () [0x000ce] in <128d4efe290c4de9b4a401a633e35002>:0

This error is not happening since the latest update. Thank for the quick resolution.