bbepis / XUnity.AutoTranslator

MIT License
1.9k stars 289 forks source link

text replacing problem #319

Open gradiance1 opened 2 years ago

gradiance1 commented 2 years ago

图片 It translate chinese as 口口 ,and it can't load textmeshpro font, here's the log. [Message: BepInEx] BepInEx 5.4.21.0 - Game (2022/10/5 19:08:17) [Info : BepInEx] Running under Unity v2017.3.1.16522547 [Info : BepInEx] CLR runtime version: 4.0.30319.42000 [Info : BepInEx] Supports SRE: True [Info : BepInEx] System platform: Bits64, Windows [Message: BepInEx] Preloader started [Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.21.0] [Info : BepInEx] 1 patcher plugin loaded [Info : BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader] [Message: BepInEx] Preloader finished [Warning: HarmonyX] AccessTools.Property: Could not find property for type UnityEngine.Application and name isBatchMode [Message: BepInEx] Chainloader ready [Message: BepInEx] Chainloader started [Info : BepInEx] 2 plugins to load [Info : BepInEx] Loading [XUnity Auto Translator 5.1.0] [Info :XUnity.AutoTranslator] Version of TextMesh Pro: 1.0.56.0b1. [Error :XUnity.AutoTranslator] An error occurred while initializing harmony detour bridge. System.NullReferenceException: Object reference not set to an instance of an object at MonoMod.RuntimeDetour.HarmonyDetourBridge.Init (System.Boolean forceLoad, MonoMod.RuntimeDetour.HarmonyDetourBridge+Type type) [0x00305] in <4e2760c7517c4ea79c633d67e84b319f>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.InitializeHarmonyDetourBridgeSafe () [0x00000] in <369dd9e4fbad4897a4fae8235ba4292d>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.InitializeHarmonyDetourBridge () [0x00007] in <369dd9e4fbad4897a4fae8235ba4292d>:0 [Warning:XUnity.AutoTranslator] Cannot use same fallback endpoint as primary. [Info :XUnity.AutoTranslator] Loaded XUnity.AutoTranslator into Unity [2017.3.1f1] game. [Info : BepInEx] Loading [XUnity Resource Redirector 2.0.0] [Message: BepInEx] Chainloader startup complete [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. [Warning:XUnity.AutoTranslator] Could not load asset bundle while loading font: arialuni_sdf_u2019

IGBT-001 commented 1 year ago

You can look at my post, or add QQ1278925921, I will tell you how to solve it

dima245 commented 1 year ago

in the game Zombie_Sex_and_Virus_Reincarnation (RJ338515) seems to translate. but some characters in words are replaced by the character "口" I tried to specify the font. It did not help. ваыа

IGBT-001 commented 1 year ago

Sorry, I suddenly found that I can't help you. My MOD loader is MelonLoader, and the plug-in is also based on MelonLoader. It seems that BepInEx cannot be used

蝼蚁 @.***

 

------------------ 原始邮件 ------------------ 发件人: "bbepis/XUnity.AutoTranslator" @.>; 发送时间: 2022年11月4日(星期五) 下午5:25 @.>; @.**@.>; 主题: Re: [bbepis/XUnity.AutoTranslator] text replacing problem (Issue #319)

in the game Zombie_Sex_and_Virus_Reincarnation (RJ338515) seems to translate. but some characters in words are replaced by the character "口" I tried to specify the font. It did not help.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Atamg1994 commented 1 year ago

https://github.com/bbepis/XUnity.AutoTranslator/issues/290 https://github.com/bbepis/XUnity.AutoTranslator/issues/287