Skip to content

Font override functionality of the plugin fails to take effect in Unity 6000.2.8f1 (IL2CPP) #838

@Wangyuan8841

Description

@Wangyuan8841

Hello,

First of all, thank you very much for your work on xUnity.AutoTranslator. It is an extremely useful tool for many projects.

I would like to report an issue encountered while using the plugin for translation.

When using the plugin to translate, the game's original text has been translated from English to Chinese.

However, the text in the game interface displays garbled characters.

Following the documentation guide, I modified the configuration of FallbackFontTextMeshPro in [Behaviour] to FallbackFontTextMeshPro=arialuni_sdf_u6000 and placed the font package in the game's root directory.

However, according to the logs during game runtime, the game's own font package is still being used when displaying text.

The game's runtime logs are as follows:

[Message: Preloader] BepInEx 6.0.0-be.755 - Dane (2026/4/9 23:15:39)
[Message: Preloader] Built from commit 3fab71a1914132a1ce3a545caf3192da603f2258
[Info : BepInEx] System platform: Windows 10 64-bit
[Info : BepInEx] Process bitness: 64-bit (x64)
[Info : BepInEx] Running under Unity 6000.2.8f1
[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.6.1]
[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
[Warning: Unity] DontDestroyOnLoad only works for root GameObjects or components on root GameObjects.
[Warning: Unity] DontDestroyOnLoad only works for root GameObjects or components on root GameObjects.
[Message: Unity] Recording event sdkStart at 2026-05-04 00:53:29.851 +08:00 (UTC)...
[Message: Unity] Recording event clientDevice at 2026-05-04 00:53:30.436 +08:00 (UTC)...
[Message: Unity] Recording event gameStarted at 2026-05-04 00:53:30.464 +08:00 (UTC)...
[Message: Unity] Uploading events...
[Message: Unity] [Analytics] UGS ok. Env=production CloudProjectId=0d8591ae-cfac-4eb7-be30-281f2ae9dda3
[Message: Unity] Recording event game_open at 2026-05-04 00:53:30.626 +08:00 (UTC)...
[Warning: Unity] Analytics Dispatcher is already flushing.
[Message: Unity] [Analytics] game_open enviado. CloudProjectId=0d8591ae-cfac-4eb7-be30-281f2ae9dda3
[Error :Il2CppInterop] Nested type ToolbarButtonSize on GUI not found!
[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)
[Info :Il2CppInterop] Registered mono type XUnity.AutoTranslator.Plugin.Core.Il2CppManagedEnumerator in il2cpp domain
[Message: Unity] Events uploaded successfully!
[Warning: Unity] The character with Unicode value \u9009 was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].
[Warning: Unity] The character with Unicode value \u9879 was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].
[Warning: Unity] The character with Unicode value \u827A was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].
[Warning: Unity] The character with Unicode value \u672F was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].
[Warning: Unity] The character with Unicode value \u4E66 was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].
[Warning: Unity] The character with Unicode value \u7C4D was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].
[Warning: Unity] The character with Unicode value \u7EE7 was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].
[Warning: Unity] The character with Unicode value \u7EED was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].
[Warning: Unity] The character with Unicode value \u5E15 was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].
[Warning: Unity] The character with Unicode value \u7279 was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].
[Warning: Unity] The character with Unicode value \u7F57 was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].
[Warning: Unity] The character with Unicode value \u6069 was not found in the [Nexa-Heavy SDF] font asset or any potential fallbacks. It was replaced by Unicode character \u25A1 in text object [BtnTxt].

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