I've been trying to install a mod on the game for a year now, but I get this error. I've tried different versions of BeepInEx and AutoTranslator, are there any options to make it work in this game? I'd be very happy to get help, since it's one of my favorite games, but I can't play without a translator.
MelonLoader doesn't work with this game at all, in BeepInEx I tried changing the parameters "Scroll down to [Logging] and set UnityLogListening from true to false."
Error below.
[Error : BepInEx] Error loading [XUnity Auto Translator 5.4.0]: System.TypeInitializationException: The type initializer for 'MethodInfoStoreGeneric_AddComponent_Public_T_01' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Il2CppInterop.Runtime.Il2CppClassPointerStore1' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AutoTranslatorProxyBehaviour' threw an exception.
---> System.InvalidOperationException: Sequence contains more than one element
at System.Linq.ThrowHelper.ThrowMoreThanOneElementException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable1 source, Boolean& found) at Il2CppInterop.Runtime.Injection.Hooks.MetadataCache_GetTypeInfoFromTypeDefinitionIndex_Hook.FindGetTypeInfoFromTypeDefinitionIndex(Boolean forceICallMethod) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/Hooks/MetadataCache_GetTypeInfoFromTypeDefinitionIndex_Hook.cs:line 64 at Il2CppInterop.Runtime.Injection.Hooks.MetadataCache_GetTypeInfoFromTypeDefinitionIndex_Hook.FindTargetMethod() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/Hooks/MetadataCache_GetTypeInfoFromTypeDefinitionIndex_Hook.cs:line 119 at Il2CppInterop.Runtime.Injection.Hook1.ApplyHook() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/Hook.cs:line 30
at Il2CppInterop.Runtime.Injection.InjectorHelpers.Setup() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/InjectorHelpers.cs:line 76
at Il2CppInterop.Runtime.Injection.ClassInjector.RegisterTypeInIl2Cpp(Type type, RegisterTypeOptions options) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/ClassInjector.cs:line 195
at Il2CppInterop.Runtime.Injection.ClassInjector.RegisterTypeInIl2Cpp(Type type) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/ClassInjector.cs:line 154
at Il2CppInterop.Runtime.Injection.ClassInjector.RegisterTypeInIl2Cpp[T]() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/ClassInjector.cs:line 149
at XUnity.AutoTranslator.Plugin.Core.PluginLoader.AutoTranslatorProxyBehaviour..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Il2CppInterop.Runtime.Il2CppClassPointerStore1..cctor() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppClassPointerStore.cs:line 42 --- End of inner exception stack trace --- at UnityEngine.GameObject.MethodInfoStoreGeneric_AddComponent_Public_T_01..cctor()
--- End of inner exception stack trace ---
at UnityEngine.GameObject.AddComponent[T]()
at XUnity.AutoTranslator.Plugin.Core.PluginLoader.LoadWithConfig(IPluginEnvironment config)
at XUnity.AutoTranslator.Plugin.BepInEx.AutoTranslatorPlugin.Load()
at BepInEx.Unity.IL2CPP.IL2CPPChainloader.LoadPlugin(PluginInfo pluginInfo, Assembly pluginAssembly) in /home/runner/work/BepInEx/BepInEx/Runtimes/Unity/BepInEx.Unity.IL2CPP/IL2CPPChainloader.cs:line 134
at BepInEx.Bootstrap.BaseChainloader1.LoadPlugins(IList1 plugins) in /home/runner/work/BepInEx/BepInEx/BepInEx.Core/Bootstrap/BaseChainloader.cs:line 411
I've been trying to install a mod on the game for a year now, but I get this error. I've tried different versions of BeepInEx and AutoTranslator, are there any options to make it work in this game? I'd be very happy to get help, since it's one of my favorite games, but I can't play without a translator. MelonLoader doesn't work with this game at all, in BeepInEx I tried changing the parameters "Scroll down to [Logging] and set UnityLogListening from true to false." Error below. [Error : BepInEx] Error loading [XUnity Auto Translator 5.4.0]: System.TypeInitializationException: The type initializer for 'MethodInfoStoreGeneric_AddComponent_Public_T_0
1' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Il2CppInterop.Runtime.Il2CppClassPointerStore
1' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AutoTranslatorProxyBehaviour' threw an exception. ---> System.InvalidOperationException: Sequence contains more than one element at System.Linq.ThrowHelper.ThrowMoreThanOneElementException() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable1 source, Boolean& found) at Il2CppInterop.Runtime.Injection.Hooks.MetadataCache_GetTypeInfoFromTypeDefinitionIndex_Hook.FindGetTypeInfoFromTypeDefinitionIndex(Boolean forceICallMethod) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/Hooks/MetadataCache_GetTypeInfoFromTypeDefinitionIndex_Hook.cs:line 64 at Il2CppInterop.Runtime.Injection.Hooks.MetadataCache_GetTypeInfoFromTypeDefinitionIndex_Hook.FindTargetMethod() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/Hooks/MetadataCache_GetTypeInfoFromTypeDefinitionIndex_Hook.cs:line 119 at Il2CppInterop.Runtime.Injection.Hook
1.ApplyHook() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/Hook.cs:line 30 at Il2CppInterop.Runtime.Injection.InjectorHelpers.Setup() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/InjectorHelpers.cs:line 76 at Il2CppInterop.Runtime.Injection.ClassInjector.RegisterTypeInIl2Cpp(Type type, RegisterTypeOptions options) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/ClassInjector.cs:line 195 at Il2CppInterop.Runtime.Injection.ClassInjector.RegisterTypeInIl2Cpp(Type type) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/ClassInjector.cs:line 154 at Il2CppInterop.Runtime.Injection.ClassInjector.RegisterTypeInIl2Cpp[T]() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/ClassInjector.cs:line 149 at XUnity.AutoTranslator.Plugin.Core.PluginLoader.AutoTranslatorProxyBehaviour..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Il2CppInterop.Runtime.Il2CppClassPointerStore1..cctor() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppClassPointerStore.cs:line 42 --- End of inner exception stack trace --- at UnityEngine.GameObject.MethodInfoStoreGeneric_AddComponent_Public_T_0
1..cctor() --- End of inner exception stack trace --- at UnityEngine.GameObject.AddComponent[T]() at XUnity.AutoTranslator.Plugin.Core.PluginLoader.LoadWithConfig(IPluginEnvironment config) at XUnity.AutoTranslator.Plugin.BepInEx.AutoTranslatorPlugin.Load() at BepInEx.Unity.IL2CPP.IL2CPPChainloader.LoadPlugin(PluginInfo pluginInfo, Assembly pluginAssembly) in /home/runner/work/BepInEx/BepInEx/Runtimes/Unity/BepInEx.Unity.IL2CPP/IL2CPPChainloader.cs:line 134 at BepInEx.Bootstrap.BaseChainloader1.LoadPlugins(IList
1 plugins) in /home/runner/work/BepInEx/BepInEx/BepInEx.Core/Bootstrap/BaseChainloader.cs:line 411