Skip to content

Fails to load on new v0.3.6 beta #4

@jnms-me

Description

@jnms-me

LoadAndCreate now has 2 overloads. Only the one taking a string argument is used.
Though this might just be the first error in a chain of many.

[NoLazyWorkers_IL2CPP] Failed to initialize NoLazyWorkers_Standard: HarmonyLib.HarmonyException: Ambiguous match for HarmonyMethod[(class=Il2CppScheduleOne.Persistence.Loaders.GridItemLoader, methodname=LoadAndCreate, type=Normal, args=undefined)]
 ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
   at System.RuntimeType.GetMethodImplCommon(String name, Int32 genericParameterCount, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)
   at System.Type.GetMethod(String name, BindingFlags bindingAttr)
   at HarmonyLib.AccessTools.DeclaredMethod(Type type, String name, Type[] parameters, Type[] generics)
   at HarmonyLib.PatchTools.GetOriginalMethod(HarmonyMethod attr)
   --- End of inner exception stack trace ---
   at HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original)
   at HarmonyLib.PatchClassProcessor.Patch()
   at HarmonyLib.Harmony.<PatchAll>b__11_0(Type type)
   at HarmonyLib.CollectionExtensions.Do[T](IEnumerable`1 sequence, Action`1 action)
   at HarmonyLib.Harmony.PatchAll(Assembly assembly)
   at HarmonyLib.Harmony.PatchAll()
   at NoLazyWorkers_IL2CPP.NoLazyWorkersMod.OnInitializeMelon()

Thanks for making this! Would like to help but don't have a windows machine ready so can't really build it.

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