floh-bhaptics / Bonelab_bhaptics

FIrst simple mod attempt for Bonelab
4 stars 0 forks source link

Exception Thrown in MelonLoader log #4

Open Spenz0r opened 1 year ago

Spenz0r commented 1 year ago

[Bonelab_bhaptics] System.TypeInitializationException: The type initializer for 'Bonelab_bhaptics.Bonelab_bhaptics' threw an exception. ---> System.TypeLoadException: Could not load type 'SLZ.Rig.RigManager' from assembly 'Assembly-CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. at Bonelab_bhaptics.Bonelab_bhaptics..cctor() --- End of inner exception stack trace --- at Bonelab_bhaptics.Bonelab_bhaptics.OnInitializeMelon() at MelonLoader.MelonBase.LoaderInitialized() in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\MelonBase.cs:line 440

(This is using the latest version of MelonLoader)

Spenz0r commented 1 year ago

Above that it registered patterns, and above that there is:

[Bonelab_bhaptics] System.TypeLoadException: Could not load type 'SLZ.Rig.RigManager' from assembly 'Assembly-CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte* ppBlob, Byte pEndBlob, Int32* pcNamedArgs) at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder1 derivedAttributes) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) at System.RuntimeType.GetCustomAttributes(Boolean inherit) at HarmonyLib.HarmonyMethodExtensions.GetFromType(Type type) at HarmonyLib.PatchClassProcessor..ctor(Harmony instance, Type type, Boolean allowUnannotatedType) at HarmonyLib.PatchClassProcessor..ctor(Harmony instance, Type type) at HarmonyLib.Harmony.CreateClassProcessor(Type type) at HarmonyLib.Harmony.b__11_0(Type type) at HarmonyLib.CollectionExtensions.Do[T](IEnumerable1 sequence, Action1 action) at HarmonyLib.Harmony.PatchAll(Assembly assembly) at MelonLoader.MelonMod.HarmonyInit() in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\MelonMod.cs:line 40 at MelonLoader.MelonEvent.<>c.b__1_0(LemonAction x) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 174 at MelonLoader.MelonEventBase1.Invoke(Action1 delegateInvoker) in D:\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143

Which is below Support Module Loaded.