百宝袋无法使用,有大佬知道怎么解决么
以下是百宝袋的日志:Version '1.16.4'. Loading.
System.InvalidCastException: Specified cast is not valid.
at Harmony12.PatchInfoSerialization.Deserialize (System.Byte[] bytes) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.PatchProcessor.Patch () in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.<PatchAll>b__9_0 (System.Type type) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.CollectionExtensions.Do (System.Collections.Generic.IEnumerable`1 sequence, System.Action`1 action) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.PatchAll (System.Reflection.Assembly assembly) in <455e5c1456634e14910c281b79c6c325>:0
at BagOfTricks.Main.Load (UnityModManagerNet.UnityModManager+ModEntry modEntry) in <4a0cd3b6d97c42e6a380c438c3ad55aa>:0
Error trying to call 'BagOfTricks.Main.Load'.
TargetInvocationException - Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Specified cast is not valid.
at Harmony12.PatchInfoSerialization.Deserialize (System.Byte[] bytes) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.PatchProcessor.GetPatchInfo (System.Reflection.MethodBase method) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.GetPatchInfo (System.Reflection.MethodBase method) in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.UnpatchAll (System.String harmonyID) in <455e5c1456634e14910c281b79c6c325>:0
at BagOfTricks.Main.Load (UnityModManagerNet.UnityModManager+ModEntry modEntry) in <4a0cd3b6d97c42e6a380c438c3ad55aa>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) in <7ba07f088431485bb722f3b3373e87ee>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) in <7ba07f088431485bb722f3b3373e87ee>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) in <7ba07f088431485bb722f3b3373e87ee>:0
at UnityModManagerNet.UnityModManager+ModEntry.Invoke (System.String namespaceClassnameMethodname, System.Object& result, System.Object[] param, System.Type[] types) in <ed510dbfd2164cfaa2793f70ef8091df>:0
Not loaded.
Loading time 0.65 s.
页:
[1]