- Jan 7, 2021
- 15
- 25
Game:
I'm having trouble with this one before I get into it, this is what I'm using:
Game Version: v1.10
BepInEx_x64_5.4.22.0
BepInEx.ConfigurationManager.BepInEx5_v18.2.1
XUnity.AutoTranslator-BepInEx-5.3.0
Uncensored Patch posted by nekonick123:
(Only copied the files inside the plugin instead of copying the whole BepInEx that was included)
The text are not getting translate and here are the things that's been logged in the logger window:
Thanks in advance!
You must be registered to see the links
I'm having trouble with this one before I get into it, this is what I'm using:
Game Version: v1.10
BepInEx_x64_5.4.22.0
BepInEx.ConfigurationManager.BepInEx5_v18.2.1
XUnity.AutoTranslator-BepInEx-5.3.0
Uncensored Patch posted by nekonick123:
You must be registered to see the links
(Only copied the files inside the plugin instead of copying the whole BepInEx that was included)
The text are not getting translate and here are the things that's been logged in the logger window:
Thanks in advance!
Code:
[Info : BepInEx] Loading [XUnity Auto Translator 5.3.0]
[Warning: Unity Log] OnLevelWasLoaded was found on AutoTranslationPlugin
This message has been deprecated and will be removed in a later version of Unity.
Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed
[Info :XUnity.AutoTranslator] Version of TextMesh Pro: 1.4.0.
[Error : HarmonyX] Failed to patch virtual void UnityEngine.UI.Text::set_text(string value): System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
[Warning:XUnity.AutoTranslator] An error occurred while patching property/method 'UnityEngine.UI.Text.set_text'. Failing hook: 'Text_text_Hook'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00378] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Process (MonoMod.Cil.ILContext ilContext, System.Reflection.MethodBase originalMethod) [0x00042] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo, MonoMod.Cil.ILContext ctx) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, MonoMod.Cil.ILContext ctx) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.Manipulator (MonoMod.Cil.ILContext ctx) [0x00012] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.Cil.ILContext.Invoke (MonoMod.Cil.ILContext+Manipulator manip) [0x00087] in <6733e342b5b549bba815373898724469>:0
at MonoMod.RuntimeDetour.ILHook+Context.InvokeManipulator (Mono.Cecil.MethodDefinition def, MonoMod.Cil.ILContext+Manipulator cb) [0x00012] in <4e2760c7517c4ea79c633d67e84b319f>:0
at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDetour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.RuntimeDetour.ILHook+Context::Refresh>?-1340811410(object)
at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4e2760c7517c4ea79c633d67e84b319f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x0005f] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00033] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0005d] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fb] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) [0x00031] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>: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 <6073cf49ed704e958b8a66d540dea948>: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 <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at XUnity.Common.Utilities.HookingHelper.PatchType (System.Type type, System.Boolean forceExternHooks) [0x00244] in <5f5c77dda5b3447393f01a7ca8c77c71>:0
[Error : HarmonyX] Failed to patch virtual void UnityEngine.UI.Text::OnEnable(): System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
[Warning:XUnity.AutoTranslator] An error occurred while patching property/method 'UnityEngine.UI.Text.OnEnable'. Failing hook: 'Text_OnEnable_Hook'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00378] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Process (MonoMod.Cil.ILContext ilContext, System.Reflection.MethodBase originalMethod) [0x00042] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo, MonoMod.Cil.ILContext ctx) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, MonoMod.Cil.ILContext ctx) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.Manipulator (MonoMod.Cil.ILContext ctx) [0x00012] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.Cil.ILContext.Invoke (MonoMod.Cil.ILContext+Manipulator manip) [0x00087] in <6733e342b5b549bba815373898724469>:0
at MonoMod.RuntimeDetour.ILHook+Context.InvokeManipulator (Mono.Cecil.MethodDefinition def, MonoMod.Cil.ILContext+Manipulator cb) [0x00012] in <4e2760c7517c4ea79c633d67e84b319f>:0
at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDetour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.RuntimeDetour.ILHook+Context::Refresh>?-1340811410(object)
at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4e2760c7517c4ea79c633d67e84b319f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x0005f] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00033] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0005d] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fb] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) [0x00031] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>: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 <6073cf49ed704e958b8a66d540dea948>: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 <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at XUnity.Common.Utilities.HookingHelper.PatchType (System.Type type, System.Boolean forceExternHooks) [0x00244] in <5f5c77dda5b3447393f01a7ca8c77c71>:0
[Error : HarmonyX] Failed to patch virtual void TMPro.TextMeshProUGUI::OnEnable(): System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
[Warning:XUnity.AutoTranslator] An error occurred while patching property/method 'TMPro.TextMeshProUGUI.OnEnable'. Failing hook: 'TeshMeshProUGUI_OnEnable_Hook'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00378] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Process (MonoMod.Cil.ILContext ilContext, System.Reflection.MethodBase originalMethod) [0x00042] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo, MonoMod.Cil.ILContext ctx) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, MonoMod.Cil.ILContext ctx) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.Manipulator (MonoMod.Cil.ILContext ctx) [0x00012] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.Cil.ILContext.Invoke (MonoMod.Cil.ILContext+Manipulator manip) [0x00087] in <6733e342b5b549bba815373898724469>:0
at MonoMod.RuntimeDetour.ILHook+Context.InvokeManipulator (Mono.Cecil.MethodDefinition def, MonoMod.Cil.ILContext+Manipulator cb) [0x00012] in <4e2760c7517c4ea79c633d67e84b319f>:0
at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDetour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.RuntimeDetour.ILHook+Context::Refresh>?-1340811410(object)
at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4e2760c7517c4ea79c633d67e84b319f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x0005f] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00033] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0005d] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fb] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) [0x00031] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>: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 <6073cf49ed704e958b8a66d540dea948>: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 <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at XUnity.Common.Utilities.HookingHelper.PatchType (System.Type type, System.Boolean forceExternHooks) [0x00244] in <5f5c77dda5b3447393f01a7ca8c77c71>:0
[Warning:XUnity.AutoTranslator] An error occurred while patching property/method 'TMPro.TextMeshPro.OnEnable'. Failing hook: 'TeshMeshPro_OnEnable_Hook'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x001cf] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.DynamicMethodDefinition+<>c__DisplayClass3_0.<_CopyMethodToDefinition>g__ResolveTokenAs|1 (System.Int32 token, MonoMod.Utils.DynamicMethodDefinition+TokenResolutionMode resolveMode) [0x00076] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.DynamicMethodDefinition+<>c__DisplayClass3_0.<_CopyMethodToDefinition>g__ReadOperand|0 (System.IO.BinaryReader reader, Mono.Cecil.Cil.Instruction instr) [0x001e4] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.DynamicMethodDefinition._CopyMethodToDefinition () [0x001ab] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.DynamicMethodDefinition.Reload () [0x00122] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.DynamicMethodDefinition..ctor (System.Reflection.MethodBase method) [0x0001c] in <6733e342b5b549bba815373898724469>:0
at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDetour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.RuntimeDetour.ILHook+Context::Refresh>?-1340811410(object)
at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4e2760c7517c4ea79c633d67e84b319f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x0005f] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00033] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0005d] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fb] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) [0x00031] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>: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 <6073cf49ed704e958b8a66d540dea948>: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 <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at XUnity.Common.Utilities.HookingHelper.PatchType (System.Type type, System.Boolean forceExternHooks) [0x00244] in <5f5c77dda5b3447393f01a7ca8c77c71>:0
[Error : HarmonyX] Failed to patch virtual void TMPro.TMP_Text::set_text(string value): System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
[Warning:XUnity.AutoTranslator] An error occurred while patching property/method 'TMPro.TMP_Text.set_text'. Failing hook: 'TMP_Text_text_Hook'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00378] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Process (MonoMod.Cil.ILContext ilContext, System.Reflection.MethodBase originalMethod) [0x00042] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo, MonoMod.Cil.ILContext ctx) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, MonoMod.Cil.ILContext ctx) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.Manipulator (MonoMod.Cil.ILContext ctx) [0x00012] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.Cil.ILContext.Invoke (MonoMod.Cil.ILContext+Manipulator manip) [0x00087] in <6733e342b5b549bba815373898724469>:0
at MonoMod.RuntimeDetour.ILHook+Context.InvokeManipulator (Mono.Cecil.MethodDefinition def, MonoMod.Cil.ILContext+Manipulator cb) [0x00012] in <4e2760c7517c4ea79c633d67e84b319f>:0
at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDetour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.RuntimeDetour.ILHook+Context::Refresh>?-1340811410(object)
at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4e2760c7517c4ea79c633d67e84b319f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x0005f] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00033] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0005d] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fb] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) [0x00031] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>: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 <6073cf49ed704e958b8a66d540dea948>: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 <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at XUnity.Common.Utilities.HookingHelper.PatchType (System.Type type, System.Boolean forceExternHooks) [0x00244] in <5f5c77dda5b3447393f01a7ca8c77c71>:0
[Error : HarmonyX] Failed to patch void TMPro.TMP_Text::SetText(System.Text.StringBuilder sourceText): System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
[Warning:XUnity.AutoTranslator] An error occurred while patching property/method 'TMPro.TMP_Text.SetText'. Failing hook: 'TMP_Text_SetText_Hook1'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00378] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Process (MonoMod.Cil.ILContext ilContext, System.Reflection.MethodBase originalMethod) [0x00042] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo, MonoMod.Cil.ILContext ctx) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, MonoMod.Cil.ILContext ctx) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.Manipulator (MonoMod.Cil.ILContext ctx) [0x00012] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.Cil.ILContext.Invoke (MonoMod.Cil.ILContext+Manipulator manip) [0x00087] in <6733e342b5b549bba815373898724469>:0
at MonoMod.RuntimeDetour.ILHook+Context.InvokeManipulator (Mono.Cecil.MethodDefinition def, MonoMod.Cil.ILContext+Manipulator cb) [0x00012] in <4e2760c7517c4ea79c633d67e84b319f>:0
at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDetour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.RuntimeDetour.ILHook+Context::Refresh>?-1340811410(object)
at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4e2760c7517c4ea79c633d67e84b319f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x0005f] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00033] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0005d] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fb] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) [0x00031] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>: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 <6073cf49ed704e958b8a66d540dea948>: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 <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at XUnity.Common.Utilities.HookingHelper.PatchType (System.Type type, System.Boolean forceExternHooks) [0x00244] in <5f5c77dda5b3447393f01a7ca8c77c71>:0
[Error : HarmonyX] Failed to patch void TMPro.TMP_Text::SetText(string sourceText, bool syncTextInputBox): System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
[Warning:XUnity.AutoTranslator] An error occurred while patching property/method 'TMPro.TMP_Text.SetText'. Failing hook: 'TMP_Text_SetText_Hook2'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00378] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Process (MonoMod.Cil.ILContext ilContext, System.Reflection.MethodBase originalMethod) [0x00042] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo, MonoMod.Cil.ILContext ctx) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, MonoMod.Cil.ILContext ctx) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.Manipulator (MonoMod.Cil.ILContext ctx) [0x00012] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.Cil.ILContext.Invoke (MonoMod.Cil.ILContext+Manipulator manip) [0x00087] in <6733e342b5b549bba815373898724469>:0
at MonoMod.RuntimeDetour.ILHook+Context.InvokeManipulator (Mono.Cecil.MethodDefinition def, MonoMod.Cil.ILContext+Manipulator cb) [0x00012] in <4e2760c7517c4ea79c633d67e84b319f>:0
at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDetour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.RuntimeDetour.ILHook+Context::Refresh>?-1340811410(object)
at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4e2760c7517c4ea79c633d67e84b319f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x0005f] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00033] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0005d] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fb] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) [0x00031] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>: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 <6073cf49ed704e958b8a66d540dea948>: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 <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at XUnity.Common.Utilities.HookingHelper.PatchType (System.Type type, System.Boolean forceExternHooks) [0x00244] in <5f5c77dda5b3447393f01a7ca8c77c71>:0
[Error : HarmonyX] Failed to patch void TMPro.TMP_Text::SetText(string sourceText, float arg0, float arg1, float arg2): System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
[Warning:XUnity.AutoTranslator] An error occurred while patching property/method 'TMPro.TMP_Text.SetText'. Failing hook: 'TMP_Text_SetText_Hook3'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00378] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Process (MonoMod.Cil.ILContext ilContext, System.Reflection.MethodBase originalMethod) [0x00042] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo, MonoMod.Cil.ILContext ctx) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, MonoMod.Cil.ILContext ctx) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.Manipulator (MonoMod.Cil.ILContext ctx) [0x00012] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.Cil.ILContext.Invoke (MonoMod.Cil.ILContext+Manipulator manip) [0x00087] in <6733e342b5b549bba815373898724469>:0
at MonoMod.RuntimeDetour.ILHook+Context.InvokeManipulator (Mono.Cecil.MethodDefinition def, MonoMod.Cil.ILContext+Manipulator cb) [0x00012] in <4e2760c7517c4ea79c633d67e84b319f>:0
at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDetour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.RuntimeDetour.ILHook+Context::Refresh>?-1340811410(object)
at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4e2760c7517c4ea79c633d67e84b319f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x0005f] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00033] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0005d] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fb] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) [0x00031] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>: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 <6073cf49ed704e958b8a66d540dea948>: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 <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at XUnity.Common.Utilities.HookingHelper.PatchType (System.Type type, System.Boolean forceExternHooks) [0x00244] in <5f5c77dda5b3447393f01a7ca8c77c71>:0
[Error : HarmonyX] Failed to patch void TMPro.TMP_Text::SetCharArray(char[] sourceText): System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
[Warning:XUnity.AutoTranslator] An error occurred while patching property/method 'TMPro.TMP_Text.SetCharArray'. Failing hook: 'TMP_Text_SetCharArray_Hook1'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00378] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Process (MonoMod.Cil.ILContext ilContext, System.Reflection.MethodBase originalMethod) [0x00042] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo, MonoMod.Cil.ILContext ctx) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, MonoMod.Cil.ILContext ctx) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.Manipulator (MonoMod.Cil.ILContext ctx) [0x00012] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.Cil.ILContext.Invoke (MonoMod.Cil.ILContext+Manipulator manip) [0x00087] in <6733e342b5b549bba815373898724469>:0
at MonoMod.RuntimeDetour.ILHook+Context.InvokeManipulator (Mono.Cecil.MethodDefinition def, MonoMod.Cil.ILContext+Manipulator cb) [0x00012] in <4e2760c7517c4ea79c633d67e84b319f>:0
at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDetour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.RuntimeDetour.ILHook+Context::Refresh>?-1340811410(object)
at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4e2760c7517c4ea79c633d67e84b319f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x0005f] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00033] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0005d] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fb] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) [0x00031] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>: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 <6073cf49ed704e958b8a66d540dea948>: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 <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at XUnity.Common.Utilities.HookingHelper.PatchType (System.Type type, System.Boolean forceExternHooks) [0x00244] in <5f5c77dda5b3447393f01a7ca8c77c71>:0
[Error : HarmonyX] Failed to patch void TMPro.TMP_Text::SetCharArray(char[] sourceText, int start, int length): System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
[Warning:XUnity.AutoTranslator] An error occurred while patching property/method 'TMPro.TMP_Text.SetCharArray'. Failing hook: 'TMP_Text_SetCharArray_Hook2'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Compile Error (unknown location) ---> System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.Assembly asm) [0x00012] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Type type, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x00172] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter._ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context, MonoMod.Utils.MMReflectionImporter+GenericImportKind importKind) [0x0021a] in <6733e342b5b549bba815373898724469>:0
at MonoMod.Utils.MMReflectionImporter.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00000] in <6733e342b5b549bba815373898724469>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method, Mono.Cecil.IGenericParameterProvider context) [0x00013] in <6034b380a22b41a596c9dc29d282c0a9>:0
at Mono.Cecil.ModuleDefinition.ImportReference (System.Reflection.MethodBase method) [0x00000] in <6034b380a22b41a596c9dc29d282c0a9>:0
at MonoMod.Utils.Extensions.Import (Mono.Cecil.Cil.ILProcessor il, System.Reflection.MethodBase method) [0x00010] in <6733e342b5b549bba815373898724469>:0
at HarmonyLib.Internal.Util.ILEmitter.Emit (Mono.Cecil.Cil.OpCode opcode, System.Reflection.MethodInfo mInfo) [0x0000c] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WritePostfixes (HarmonyLib.Internal.Util.ILEmitter+Label returnLabel) [0x001b2] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00234] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.HarmonyManipulator.WriteImpl () [0x00378] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Process (MonoMod.Cil.ILContext ilContext, System.Reflection.MethodBase originalMethod) [0x00042] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo, MonoMod.Cil.ILContext ctx) [0x00006] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.HarmonyManipulator.Manipulate (System.Reflection.MethodBase original, MonoMod.Cil.ILContext ctx) [0x00007] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.Manipulator (MonoMod.Cil.ILContext ctx) [0x00012] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.Cil.ILContext.Invoke (MonoMod.Cil.ILContext+Manipulator manip) [0x00087] in <6733e342b5b549bba815373898724469>:0
at MonoMod.RuntimeDetour.ILHook+Context.InvokeManipulator (Mono.Cecil.MethodDefinition def, MonoMod.Cil.ILContext+Manipulator cb) [0x00012] in <4e2760c7517c4ea79c633d67e84b319f>:0
at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDetour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.RuntimeDetour.ILHook+Context::Refresh>?-1340811410(object)
at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4e2760c7517c4ea79c633d67e84b319f>:0
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x00047] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) [0x0005f] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00033] in <474744d65d8e460fa08cd5fd82b5d65f>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0005d] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fb] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer, HarmonyLib.HarmonyMethod ilmanipulator) [0x00031] in <474744d65d8e460fa08cd5fd82b5d65f>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00000] in <474744d65d8e460fa08cd5fd82b5d65f>: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 <6073cf49ed704e958b8a66d540dea948>: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 <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at XUnity.Common.Utilities.HookingHelper.PatchType (System.Type type, System.Boolean forceExternHooks) [0x00244] in <5f5c77dda5b3447393f01a7ca8c77c71>:0
[Warning: HarmonyX] AccessTools.Method: Could not find method for type TMPro.TMP_Text and name SetCharArray and parameters (int[], int, int)
[Warning:XUnity.AutoTranslator] Could not hook 'TMP_Text_SetCharArray_Hook3'. Likely due differences between different versions of the engine or text framework.
[Info :XUnity.AutoTranslator] Loaded XUnity.AutoTranslator into Unity [2021.3.0f1] game.
[Error :XUnity.AutoTranslator] An error occurred while scanning for game assemblies.
System.ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
at (wrapper managed-to-native) System.Reflection.RuntimeAssembly.get_code_base(System.Reflection.Assembly,bool)
at System.Reflection.RuntimeAssembly.GetCodeBase (System.Reflection.Assembly a, System.Boolean escaped) [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.get_CodeBase () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.AssemblyName.Create (System.Reflection.Assembly assembly, System.Boolean fillCodebase) [0x00010] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.RuntimeAssembly.GetName (System.Boolean copiedName) [0x0000e] in <6073cf49ed704e958b8a66d540dea948>:0
at System.Reflection.Assembly.GetName () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0
at XUnity.AutoTranslator.Plugin.Core.CallOrigin+<>c.<.cctor>b__4_0 (System.Reflection.Assembly x) [0x00000] in <1a6ac5ec5b0a4c7096c6ff8454095a49>:0
at System.Linq.Enumerable+WhereArrayIterator`1[TSource].MoveNext () [0x0002c] in <1e18c5a6594041c9844bfd0b6618ee4a>:0
at XUnity.AutoTranslator.Plugin.Core.Extensions.EnumerableExtensions.AddRange[T] (System.Collections.Generic.ICollection`1[T] collection, System.Collections.Generic.IEnumerable`1[T] values) [0x00017] in <1a6ac5ec5b0a4c7096c6ff8454095a49>:0
at XUnity.AutoTranslator.Plugin.Core.CallOrigin..cctor () [0x00040] in <1a6ac5ec5b0a4c7096c6ff8454095a49>:0
[Info : BepInEx] Loading [XUnity Resource Redirector 2.1.0]
[Message: BepInEx] Chainloader startup complete
[Info : Unity Log] FPSの変更 True
[Info : Unity Log] サブカメラを出し入れします True
[Info : Unity Log] サブカメラX False / 0
[Info : Unity Log] サブカメラを出し入れします False
[Warning: Unity Log] Material UnlitMultiply doesn't have _Stencil property
[Warning: Unity Log] Material UnlitMultiply doesn't have _Stencil property
[Warning: Unity Log] Material UnlitMultiply doesn't have _Stencil property
[Warning: Unity Log] Material UnlitMultiply doesn't have _Stencil property
[Info :XUnity.AutoTranslator] Skipping plugin scan because no plugin-specific translations has been registered.
Last edited: