-
-
Notifications
You must be signed in to change notification settings - Fork 28
Description
[HarmonyLoader RustServerMetrics] Failed to patch all hooks: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: Patching exception in method System.Void BasePlayer::PlayerInit(Network.Connection c) ---> System.MissingFieldException: Field not found: string ProtoBuf.PlayerLifeStory.wipeId Due to: Could not find field in class at (wrapper managed-to-native) System.Reflection.RuntimeModule.ResolveFieldToken(intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&) at System.Reflection.RuntimeModule.ResolveField (System.Reflection.Module module, System.IntPtr monoModule, System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) [0x0000f] in <f98723dd4586469db5213ec59da723ca>:0 at System.Reflection.RuntimeModule.ResolveField (System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction) [0x004a9] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 at HarmonyLib.MethodBodyReader.GenerateInstructions () [0x00022] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 at HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables) [0x00038] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x002e8] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00059] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs1+Job[T] job) [0x000be] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x0009e] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&) at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <f98723dd4586469db5213ec59da723ca>:0 --- End of inner exception stack trace --- at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <f98723dd4586469db5213ec59da723ca>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 at HarmonyLoader+Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00000] in <c37346ebe7f44bcfb7cbc3716ae77f8f>:0 at HarmonyLoader.TryLoadMod (System.String dllName) [0x00177] in <c37346ebe7f44bcfb7cbc3716ae77f8f>:0
sorry to bother you
seems that hooks are outdated @features-not-bugs