Skip to content

Error on loading mod "Could not find method UpdateHoverTexts with NULL parameters in type Smelter" #121

@Tuumke

Description

@Tuumke

Didn't see this error mentioned here yet, so thought i'd post it.

[Info   :   BepInEx] Loading [Craft From Containers 3.0.0]
[Warning:  HarmonyX] AccessTools.DeclaredMethod: Could not find method for type Smelter and name UpdateHoverTexts and parameters
[Warning:  HarmonyX] AccessTools.Method: Could not find method for type Smelter and name UpdateHoverTexts and parameters
[Error  :  HarmonyX] Failed to process patch Unknown patch - Could not find method UpdateHoverTexts with NULL parameters in type Smelter
[Error  : Unity Log] ArgumentException: No target method specified for class CraftFromContainers.BepInExPlugin+Smelter_UpdateHoverTexts_Patch (declaringType=Smelter, methodName =UpdateHoverTexts, methodType=, argumentTypes=NULL)
Stack trace:
HarmonyLib.PatchProcessor.PrepareType () (at <cfe946517fac4dffbd51b860a7d9a984>:0)
HarmonyLib.PatchProcessor..ctor (HarmonyLib.Harmony instance, System.Type type, HarmonyLib.HarmonyMethod attributes) (at <cfe946517fac4dffbd51b860a7d9a984>:0)
HarmonyLib.Harmony.ProcessorForAnnotatedClass (System.Type type) (at <cfe946517fac4dffbd51b860a7d9a984>:0)
System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].MoveNext () (at <a2fb550e986748b88facf50cd71afc3c>:0)
System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].ToList () (at <a2fb550e986748b88facf50cd71afc3c>:0)
System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <a2fb550e986748b88facf50cd71afc3c>:0)
HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) (at <cfe946517fac4dffbd51b860a7d9a984>:0)
HarmonyLib.Harmony.CreateAndPatchAll (System.Reflection.Assembly assembly, System.String harmonyInstanceId) (at <cfe946517fac4dffbd51b860a7d9a984>:0)
CraftFromContainers.BepInExPlugin.Awake () (at <28da5d7f15c240b187c601edc7a7fb44>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.GameObject:.cctor()
SteamManager:Initialize()
PlatformInitializer:InitializePlatform()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions