Skip to content

Use MelonLoader+XUnity.AutoTranslator-MelonMod-IL2CPP-5.4.5.zip not work #692

@kllll1119

Description

@kllll1119

Test SteamGame: Crab Game、Schedule I
Plugin:

I use ‘MelonLoader+XUnity.AutoTranslator-MelonMod-IL2CPP-5.4.5.zip’ to translate, a translation pop-up can be called up at Alt+0, but translation cannot be done (GoogleTranslate or Custom Translate), and manually writing it to AutoGeneratedTranslations.txt will not replace the text

Image

LogInfo:
[14:48:35.964] An error occurred while resolving type: UnityEngine.TextMesh
System.ArgumentException: TextMesh does not have a corresponding IL2CPP class pointer
at Il2CppInterop.Runtime.Il2CppType.TypeFromPointerInternal(IntPtr classPointer, String typeName, Boolean throwOnFailure) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppType.cs:line 19
at XUnity.Common.Constants.UnityTypes.FindType(String name)
[14:48:35.965] An error occurred while resolving type: UnityEngine.WWW
System.ArgumentException: WWW does not have a corresponding IL2CPP class pointer
at Il2CppInterop.Runtime.Il2CppType.TypeFromPointerInternal(IntPtr classPointer, String typeName, Boolean throwOnFailure) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppType.cs:line 19
at XUnity.Common.Constants.UnityTypes.FindType(String name)
[14:48:35.970] An error occurred while resolving type: UnityEngine.AssetBundle
System.ArgumentException: AssetBundle does not have a corresponding IL2CPP class pointer
at Il2CppInterop.Runtime.Il2CppType.TypeFromPointerInternal(IntPtr classPointer, String typeName, Boolean throwOnFailure) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppType.cs:line 19
at XUnity.Common.Constants.UnityTypes.FindType(String name)
[14:48:36.068] Hooked UnityEngine.UI.Text.set_text through Harmony hooks.
[14:48:36.083] Hooked UnityEngine.UI.Text.OnEnable through Harmony hooks.
[14:48:37.366] Disabling certificate checks for endpoints because of configuration.
[14:48:37.367] Probing whether OnLevelWasLoaded or SceneManager is supported in this version of Unity. Any warnings related to OnLevelWasLoaded coming from Unity can safely be ignored.
[14:48:37.368] SceneManager is supported in this version of Unity.
[14:48:37.371] An error occurred while loading text mesh pro fallback font. Retrying load with custom proxies...
System.MissingMethodException: Method not found: 'UnityEngine.Object UnityEngine.Resources.Load(System.String)'.
at XUnity.AutoTranslator.Plugin.Core.Fonts.FontHelper.GetTextMeshProFont(String assetBundle)
at XUnity.AutoTranslator.Plugin.Core.Fonts.FontCache.GetOrCreateFallbackFontTextMeshPro()
[14:48:37.372] Attempting to load TextMesh Pro font from asset bundle.
[14:48:37.375] Could not find the TextMeshPro font asset: arialuni_sdf_u2019
[14:48:37.375] Cannot use fallback font because it is not supported in this version.
[14:48:37.377] Loaded resize command text files.
[14:48:37.385] --- Loading Global Translations ---
[14:48:37.388] Loaded translation text files (took 0 seconds)
[14:48:37.389] Created variation translations (took -0 seconds)
[14:48:37.389] Created token translations (took -0 seconds)
[14:48:37.391] Loaded XUnity.AutoTranslator into Unity [2020.3.21f1] game.
[14:48:37.429] [Il2CppInterop] Registered mono type XUnity.AutoTranslator.Plugin.Core.Il2CppManagedEnumerator in il2cpp domain
[14:48:37.783] Skipping plugin scan because no plugin-specific translations has been registered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions