|
以下是百宝袋的日志:
[BagOfTricks] Version '1.16.4'. Loading.
[BagOfTricks] System.InvalidCastException: Specified cast is not valid.
at Harmony12.PatchInfoSerialization.Deserialize (System.Byte[] bytes) [0x00021] in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) [0x00019] in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.PatchProcessor.Patch () [0x00064] in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.<PatchAll>b__9_0 (System.Type type) [0x0002c] in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x0001b] in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.PatchAll (System.Reflection.Assembly assembly) [0x00007] in <455e5c1456634e14910c281b79c6c325>:0
at BagOfTricks.Main.Load (UnityModManagerNet.UnityModManager+ModEntry modEntry) [0x0034c] in <4a0cd3b6d97c42e6a380c438c3ad55aa>:0
[BagOfTricks] [Error] Error trying to call 'BagOfTricks.Main.Load'.
[BagOfTricks] [Exception] 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) [0x00021] in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase method) [0x00019] in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.PatchProcessor.GetPatchInfo (System.Reflection.MethodBase method) [0x0000f] in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.GetPatchInfo (System.Reflection.MethodBase method) [0x00001] in <455e5c1456634e14910c281b79c6c325>:0
at Harmony12.HarmonyInstance.UnpatchAll (System.String harmonyID) [0x0004a] in <455e5c1456634e14910c281b79c6c325>:0
at BagOfTricks.Main.Load (UnityModManagerNet.UnityModManager+ModEntry modEntry) [0x0036a] 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) [0x00032] 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) [0x00048] in <7ba07f088431485bb722f3b3373e87ee>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <7ba07f088431485bb722f3b3373e87ee>:0
at UnityModManagerNet.UnityModManager+ModEntry.Invoke (System.String namespaceClassnameMethodname, System.Object& result, System.Object[] param, System.Type[] types) [0x00011] in <ed510dbfd2164cfaa2793f70ef8091df>:0
[BagOfTricks] Not loaded.
[BagOfTricks] Loading time 0.65 s. |
|