Comments (6)
Here is some additional information that I hope will help solve the problem:
- I'm trying to translate the game: "Salt 2: Shores of Gold".
- As far as I could understand, this game(64-bit) uses IL2CPP.
from xunity.autotranslator.
Also, the same error keeps popping up in the console:
[Error :XUnity.AutoTranslator] An unexpected error occurred during maintenance.
System.MissingMethodException: Method not found: 'IntPtr Il2CppInterop.Runtime.IL2CPP.il2cpp_gchandle_get_target(UInt32)'.
at XUnity.Common.Extensions.ObjectExtensions.IsCollected(Il2CppObjectBase that)
at XUnity.Common.Utilities.ExtensionDataHelper.Cull()
at XUnity.Common.Utilities.MaintenanceHelper.MaintenanceLoop(Object state)
from xunity.autotranslator.
I'll join in too...I can't start the quick menu to deactivate the translation without turning off the game..alt+0 doesn't work, so is there any way?
from xunity.autotranslator.
From what I understand, Unity has updated IL2CPP, TextMeshPro, and possibly something else. I'll provide the full text from the console. Hopefully this will help resolve this issue. My knowledge is not enough to do anything here.
[Message: Preloader] BepInEx 6.0.0-be.691 - Salt2
[Message: Preloader] Built from commit 3ba398f269961fe6721f918423df399d0b481d7e
[Info : BepInEx] System platform: Windows 10 64-bit
[Info : BepInEx] Process bitness: 64-bit (x64)
[Info : BepInEx] Running under Unity 2022.3.24f1
[Info : BepInEx] Runtime version: 6.0.7
[Info : BepInEx] Runtime information: .NET 6.0.7
[Info : Preloader] 0 patcher plugins loaded
[Info : Preloader] 0 assemblies discovered
[Message:AssemblyPatcher] Executing 0 patch(es)
[Message: BepInEx] Chainloader initialized
[Warning:Il2CppInterop] Class::Init signatures have been exhausted, using a substitute!
[Info :Il2CppInterop] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[Info : BepInEx] 2 plugins to load
[Info : BepInEx] Loading [XUnity Auto Translator 5.3.0]
[Info :Il2CppInterop] Registered mono type XUnity.AutoTranslator.Plugin.Core.PluginLoader+AutoTranslatorProxyBehaviour in il2cpp domain
[Info : BepInEx] Loading [XUnity Resource Redirector 2.1.0]
[Message: BepInEx] Chainloader startup complete
[Info :XUnity.AutoTranslator] Force loading ALL proxy assemblies.
[Warning:XUnity.AutoTranslator] Failed creating fast reflection delegate through with cecil. Retrying with reflection emit...
System.ArgumentException: FieldInfo type does not match return type.
at XUnity.Common.Utilities.CecilFastReflectionHelper.CreateFastFieldGetter[T,F](FieldInfo fieldInfo)
at XUnity.Common.Utilities.CustomFastReflectionHelper.CreateFastFieldGetterForCecil[T,F](FieldInfo fieldInfo)
[Warning:XUnity.AutoTranslator] Failed creating fast reflection delegate through with reflection emit. Falling back to standard reflection...
System.ArgumentException: FieldInfo type does not match return type.
at XUnity.Common.Utilities.ReflectionEmitFastReflectionHelper.CreateFastFieldGetter[T,F](FieldInfo fieldInfo)
at XUnity.Common.Utilities.CustomFastReflectionHelper.CreateFastFieldGetterForCecil[T,F](FieldInfo fieldInfo)
[Warning:XUnity.AutoTranslator] Could not find 'UnityEngine.TextMesh' in IL2CPP domain even though it could be found in the managed domain.
[Warning:XUnity.AutoTranslator] Could not find 'UnityEngine.WWW' in IL2CPP domain even though it could be found in the managed domain.
[Warning:XUnity.AutoTranslator] Could not find 'UnityEngine.GUI+ToolbarButtonSize' in IL2CPP domain even though it could be found in the managed domain.
[Info :XUnity.AutoTranslator] Version of TextMesh Pro: 1.4.0.
[Warning: HarmonyX] AccessTools.Method: Could not find method for type TMPro.TMP_Text and name SetCharArray and parameters (Il2CppInterop.Runtime.InteropTypes.Arrays.Il2CppStructArray<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 [2022.3.24f1] game.
[Info :Il2CppInterop] Registered mono type XUnity.AutoTranslator.Plugin.Core.Il2CppManagedEnumerator in il2cpp domain
[Warning:XUnity.AutoTranslator] Input API is not available!
System.TypeLoadException: Could not load type 'UnityEngine.Input' from assembly 'UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.HandleInput()
at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.HandleInputSafe()
[Info :XUnity.AutoTranslator] Skipping plugin scan because no plugin-specific translations has been registered.
[Info :XUnity.AutoTranslator] Attempting to load TextMesh Pro font from asset bundle.
[Message: Unity] Upgrading font asset [ARIALUNI SDF] to version 1.1.0.
[Info :XUnity.AutoTranslator] Loaded TextMesh Pro font uses version: 1.1.0
[Warning:XUnity.AutoTranslator] TextMesh Pro version mismatch. Font asset version: 1.1.0, TextMesh Pro version: 1.4.0
[Message: Unity] loaded 328000 bytes.
[Message: Unity] salt steam friends: steam manager is initialized. Invoking update event
[Message: Unity] loading scene MenuScene
[Warning: Unity] Trying to unload PlayerScene but it wasn't loaded to begin with.
[Error :XUnity.AutoTranslator] An unexpected error occurred during maintenance.
System.MissingMethodException: Method not found: 'IntPtr Il2CppInterop.Runtime.IL2CPP.il2cpp_gchandle_get_target(UInt32)'.
at XUnity.Common.Extensions.ObjectExtensions.IsCollected(Il2CppObjectBase that)
at XUnity.Common.Utilities.ExtensionDataHelper.Cull()
at XUnity.Common.Utilities.MaintenanceHelper.MaintenanceLoop(Object state)
from xunity.autotranslator.
Hi everyone...I open this discussion....to ask you for help on this...the game in question is PC bunding simualor 2 translated with the Italian translation...the game translates well...but when I do the tutorial, every tutorial gives me the damn error...
[Message: Unity] Loading a case with customization data version: 0
[Error : Unity] NullReferenceException: Object reference not set to an instance of an object.
[Error : Unity] NullReferenceException: Object reference not set to an instance of an object.
and the game freezes...please help me..is it a plugin error? Is there a way to resolve the situation? and since May 25th I've been trying to resolve...
I need to put something in the config file, can you enlighten me? Thanks in advance
LogOutput.log
I attach the log file..
after I try the tutorial the game doesn't progress and I have to close the game
EDIT
Can you help me? What causes this error? Thank you for your answer
LogOutput.log
from xunity.autotranslator.
Related Issues (20)
- How i fix it?
- OverrideFontTextMeshPro= not functioning
- Pathless Woods Demo Auto Translator Folder Doesn't Appear HOT 1
- Is it still being maintained? HOT 3
- Weird issue where any "2" that is alone will become "2x"
- Translation removed after scrolling
- The version of BepInEx can be translated normally in the game but cannot be used to call up the UI with alt+0 HOT 4
- Problem about Vietnamese (vi) font
- Is there any way to prevent line breaks \n?
- I have other api for translation that will not be included by config.txt,so can I add some new translation interfaces?
- How to translate Plugin-specific?
- Original Text Can't be Copied to Clipboard (ReiPatcher)
- Successfully installed,but can't read any text. I need help!
- Any idea to let XUnity Auto Translator works on android unity games?
- Koikatu games cannot be translated into Chinese, but can be translated into English
- Skip translating names HOT 1
- [Message: NullReferenceException: Object reference not set to an instance of an object. HOT 1
- Japanese Unity Game translate to Chinese with โกโกโก HOT 1
- DEEPL location? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xunity.autotranslator.