高级玩家

- 贡献度
- 4
- 金元
- 3716
- 积分
- 388
- 精华
- 0
- 注册时间
- 2008-2-4
|
本帖最后由 xclsh 于 2026-4-9 11:17 编辑
加载报错:
AccessTools.DeclaredMethod: Could not find method for type Il2Cpp.AreaBuildController and name GetMaxSpeBuildingNum and parameters
[10:45:43.830] [LYMod] HarmonyLib.HarmonyException: Patching exception in method null
---> System.ArgumentException: Undefined target method for patch method static void LYMod.AreaBuildingDataPatches::AreaBuildController_GetMaxSpeBuildingNum_Postfix(Il2Cpp.AreaBuildController __instance, Int32& __result)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes(MethodBase& lastOriginal)
at HarmonyLib.PatchClassProcessor.Patch()
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original)
at HarmonyLib.PatchClassProcessor.Patch()
at HarmonyLib.Harmony.PatchAll(Type type)
at LYMod.Plugin.OnInitializeMelon()
at MelonLoader.MelonBase.LoaderInitialized() in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\MelonBase.cs:line 467
更新后发现 “自动鉴宝”不起作用,其他还没试完。
知道问题了,游戏更新到最新版就没事了。
|
|