Skip to content

A strange error message keeps appearing in the console window. #835

@Tanaka518

Description

@Tanaka518

Hello.

It seems to be working fine on the surface, but a strange error message keeps appearing in the console window.

Title: レスレリアーナのアトリエ ( https://store.steampowered.com/app/2586520/ )

BepInEx log:

[Message: Preloader] BepInEx 6.0.0-be.755 - AtelierResleriana (2026-04-17 PM 7:04:08)
[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 2022.3.62f2
[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
[Info   :   BepInEx] 2 plugins to load
[Info   :   BepInEx] Loading [XUnity Auto Translator 5.6.1]
[Warning:Il2CppInterop] Class::Init signatures have been exhausted, using a substitute!
[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] 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)
[Error  :Il2CppInterop] Nested type ToolbarButtonSize on GUI not found!
[Warning:XUnity.AutoTranslator] An error occurred while resolving type: UnityEngine.GUI+ToolbarButtonSize
System.ArgumentException: ToolbarButtonSize 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)
[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   :Il2CppInterop] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[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: arialuni_sdf_u2022
[Info   :XUnity.AutoTranslator] Loaded XUnity.AutoTranslator into Unity [2022.3.62f2] game.
[Info   :Il2CppInterop] Registered mono type XUnity.AutoTranslator.Plugin.Core.Il2CppManagedEnumerator in il2cpp domain
[Info   :XUnity.AutoTranslator] Skipping plugin scan because no plugin-specific translations has been registered.
[Error  :XUnity.AutoTranslator] An error occurred while setting text on a component.
Il2CppInterop.Runtime.Il2CppException: System.NullReferenceException: Object reference not set to an instance of an object.
--- BEGIN IL2CPP STACK TRACE ---
System.NullReferenceException: Object reference not set to an instance of an object.
  at TMPro.TextMeshProUGUI.OnPreRenderCanvas () [0x00000] in <00000000000000000000000000000000>:0 
  at TMPro.TMP_Text.set_text (System.String value) [0x00000] in <00000000000000000000000000000000>:0 
--- END IL2CPP STACK TRACE ---

   at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36
   at DMD<TMPro.TMP_Text::set_text>(TMP_Text this, String value)
   at FastReflection<TMPro.TMP_Text.set_text>(Object , Object[] )
   at XUnity.Common.Utilities.CachedProperty.Set(Object instance, Object arg1)
   at XUnity.AutoTranslator.Plugin.Core.Text.DefaultTextComponentManipulator.SetText(Object ui, String text)
   at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.SetText(Object ui, String text, Boolean isTranslated, String originalText, TextTranslationInfo info)
[Error  :XUnity.AutoTranslator] An error occurred while setting text on a component.
Il2CppInterop.Runtime.Il2CppException: System.NullReferenceException: Object reference not set to an instance of an object.
--- BEGIN IL2CPP STACK TRACE ---
System.NullReferenceException: Object reference not set to an instance of an object.
  at TMPro.TextMeshProUGUI.OnPreRenderCanvas () [0x00000] in <00000000000000000000000000000000>:0 
  at TMPro.TMP_Text.set_text (System.String value) [0x00000] in <00000000000000000000000000000000>:0 
--- END IL2CPP STACK TRACE ---

   at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36
   at DMD<TMPro.TMP_Text::set_text>(TMP_Text this, String value)
   at FastReflection<TMPro.TMP_Text.set_text>(Object , Object[] )
   at XUnity.Common.Utilities.CachedProperty.Set(Object instance, Object arg1)
   at XUnity.AutoTranslator.Plugin.Core.Text.DefaultTextComponentManipulator.SetText(Object ui, String text)
   at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.SetText(Object ui, String text, Boolean isTranslated, String originalText, TextTranslationInfo info)
[Error  :XUnity.AutoTranslator] An error occurred while setting text on a component.
Il2CppInterop.Runtime.Il2CppException: System.NullReferenceException: Object reference not set to an instance of an object.
--- BEGIN IL2CPP STACK TRACE ---
System.NullReferenceException: Object reference not set to an instance of an object.
  at TMPro.TextMeshProUGUI.OnPreRenderCanvas () [0x00000] in <00000000000000000000000000000000>:0 
  at TMPro.TMP_Text.set_text (System.String value) [0x00000] in <00000000000000000000000000000000>:0 
--- END IL2CPP STACK TRACE ---

   at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36
   at DMD<TMPro.TMP_Text::set_text>(TMP_Text this, String value)
   at FastReflection<TMPro.TMP_Text.set_text>(Object , Object[] )
   at XUnity.Common.Utilities.CachedProperty.Set(Object instance, Object arg1)
   at XUnity.AutoTranslator.Plugin.Core.Text.DefaultTextComponentManipulator.SetText(Object ui, String text)
   at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.SetText(Object ui, String text, Boolean isTranslated, String originalText, TextTranslationInfo info)
[Error  :XUnity.AutoTranslator] An error occurred while setting text on a component.
Il2CppInterop.Runtime.Il2CppException: System.NullReferenceException: Object reference not set to an instance of an object.
--- BEGIN IL2CPP STACK TRACE ---
System.NullReferenceException: Object reference not set to an instance of an object.
  at TMPro.TextMeshProUGUI.OnPreRenderCanvas () [0x00000] in <00000000000000000000000000000000>:0 
  at TMPro.TMP_Text.set_text (System.String value) [0x00000] in <00000000000000000000000000000000>:0 
--- END IL2CPP STACK TRACE ---

   at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36
   at DMD<TMPro.TMP_Text::set_text>(TMP_Text this, String value)
   at FastReflection<TMPro.TMP_Text.set_text>(Object , Object[] )
   at XUnity.Common.Utilities.CachedProperty.Set(Object instance, Object arg1)
   at XUnity.AutoTranslator.Plugin.Core.Text.DefaultTextComponentManipulator.SetText(Object ui, String text)
   at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.SetText(Object ui, String text, Boolean isTranslated, String originalText, TextTranslationInfo info)

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