XUnity.AutoTranslator icon indicating copy to clipboard operation
XUnity.AutoTranslator copied to clipboard

Hi, my translated text seems to have made my ui disappear

Open YeXing33 opened this issue 10 months ago • 2 comments
trafficstars

111

Here is the information from LogOutput.log [Message: BepInEx] BepInEx 5.4.23.2 - Some Modeling Agency (2023/9/1 6:17:10) [Info : BepInEx] Running under Unity v2022.3.0.16454043 [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.23.2] [Info : BepInEx] 1 patcher plugin loaded [Info : BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader] [Message: BepInEx] Preloader finished [Message: BepInEx] Chainloader ready [Message: BepInEx] Chainloader started [Info : BepInEx] 3 plugins to load [Info : BepInEx] Loading [XUnity Auto Translator 5.4.3] [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 (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] Attempting to load TextMesh Pro font from asset bundle. [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 [Info :XUnity.AutoTranslator] Loaded fallback font for TextMesh Pro: arialunisdfu2019 [Info :XUnity.AutoTranslator] Loaded XUnity.AutoTranslator into Unity [2022.3.0f1] game. [Info : BepInEx] Loading [XUnity Resource Redirector 2.1.0] [Info : BepInEx] Loading [Runtime Unity Editor 5.5.1] [Message: BepInEx] Chainloader startup complete [Info :XUnity.AutoTranslator] Attempting to load TextMesh Pro font from asset bundle. [Info :XUnity.AutoTranslator] Loaded TextMesh Pro font uses version: Unknown [Warning:XUnity.AutoTranslator] TextMesh Pro version mismatch. Font asset version: Unknown, TextMesh Pro version: 1.4.0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.ReadFontAssetDefinition () [0x0013b] in :0 at TMPro.TMP_FontAsset.get_characterLookupTable () [0x00008] in :0 at TMPro.TextMeshProUGUI.LoadFontAsset () [0x00087] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshProUGUI.LoadFontAsset () [0x000f4] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshProUGUI.LoadFontAsset () [0x000f4] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshPro.LoadFontAsset () [0x000f5] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshPro.LoadFontAsset () [0x000f5] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Info :XUnity.AutoTranslator] Skipping plugin scan because no plugin-specific translations has been registered. [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshProUGUI.LoadFontAsset () [0x000f4] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshProUGUI.LoadFontAsset () [0x000f4] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshProUGUI.LoadFontAsset () [0x000f4] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshProUGUI.LoadFontAsset () [0x000f4] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshProUGUI.LoadFontAsset () [0x000f4] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshProUGUI.LoadFontAsset () [0x000f4] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshProUGUI.LoadFontAsset () [0x000f4] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0 [Warning:XUnity.AutoTranslator] An error occurred while handling the UI discovery. System.NullReferenceException: Object reference not set to an instance of an object at TMPro.TMP_FontAsset.get_atlasTexture () [0x00015] in :0 at TMPro.TextMeshProUGUI.LoadFontAsset () [0x000f4] in :0 at TMPro.TMP_Text.set_font (TMPro.TMP_FontAsset value) [0x00016] in :0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.FastReflection<TMPro.TMP_Text.set_font>(object,object[]) at XUnity.Common.Utilities.CachedProperty.Set (System.Object instance, System.Object arg1) [0x00012] in <8b63e93a25f84fdea455ffcb46ffe4ce>:0 at XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo.ChangeFont (System.Object ui) [0x00197] in <94a3c349cf7c4b76954227cc04c0dda8>:0 at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.DiscoverComponent (System.Object ui, XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo info) [0x00031] in <94a3c349cf7c4b76954227cc04c0dda8>:0

YeXing33 avatar Dec 25 '24 07:12 YeXing33