bbepis / XUnity.AutoTranslator

MIT License
2.02k stars 293 forks source link

Crash when launching game with bepinex #158

Closed nanikit closed 3 years ago

nanikit commented 3 years ago

What I did

Launched a game with autotranslator 4.14.0 as a BepInEx 5.4.5.0 plugin.

Sorry for not providing reliable reproducible step.

What I expected

Normal launch. And it did sometimes.

What I got

The following is an output log about the crash. It was synthesized by me to collect information.

output_log.txt ``` Mono path[0] = 'C:/game/game_Data/Managed' Mono config path = 'C:/game/Mono/etc' PlayerConnection initialized from C:/game/game_Data (debug = 0) PlayerConnection initialized network socket : 0.0.0.0 55275 Multi-casting "[IP] 172.29.80.1 [Port] 55275 [Flags] 2 [Guid] 2236633786 [EditorId] 0 [Version] 1048832 [Id] WindowsPlayer(DESKTOP-J7NMCU9) [Debug] 1 [PackageName] WindowsPlayer" to [225.0.0.222:54997]... Started listening to [0.0.0.0:55275] Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56786 Fallback handler could not load library C:/game/game_Data/Mono/.\/usr/lib/libSystem.dylib Fallback handler could not load library C:/game/game_Data/Mono/lib/usr/lib/libSystem.dylib Fallback handler could not load library C:/game/game_Data/Mono/.\lib/usr/lib/libSystem.dylib Fallback handler could not load library C:/game/game_Data/Mono/lib/usr/lib/libSystem.dylib Fallback handler could not load library C:/game/game_Data/Mono/libc.so.6 Fallback handler could not load library C:/game/game_Data/Mono/.\libc.so.6 Fallback handler could not load library C:/game/game_Data/Mono/libc.so.6 Fallback handler could not load library C:/game/game_Data/Mono/data-063AD110.dll Fallback handler could not load library C:/game/game_Data/Mono/data-096CB020.dll PlayerConnection already initialized - listening to [0.0.0.0:55275] Initialize engine version: 2018.4.25f1 (b07bfa0a8827) GfxDevice: creating device client; threaded=1 Direct3D: Version: Direct3D 11.0 [level 11.1] Renderer: Intel(R) HD Graphics 620 (ID=0x5916) Vendor: (null) VRAM: 2111 MB Driver: 27.20.100.8681 Begin MonoManager ReloadAssembly - Completed reload, in 0.084 seconds Initializing input. Input initialized. Initialized touch support. UnloadTime: 1.151400 ms [Message: BepInEx] BepInEx 5.4.5.0 - game [Info : BepInEx] Running under Unity v2018.4.25.11566074 [Info : BepInEx] CLR runtime version: 2.0.50727.1433 [Info : BepInEx] Supports SRE: True [Info : BepInEx] System platform: Windows [Message: BepInEx] Preloader started [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] 2 plugins to load [Info : BepInEx] Loading [XUnity Auto Translator 4.14.0] OnLevelWasLoaded was found on AutoTranslationPlugin This message has been deprecated and will be removed in a later version of Unity. Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed UnityEngine.GameObject:Internal_AddComponentWithType(Type) UnityEngine.GameObject:AddComponent(Type) UnityEngine.GameObject:AddComponent() XUnity.AutoTranslator.Plugin.Core.PluginLoader:LoadWithConfig(IPluginEnvironment) XUnity.AutoTranslator.Plugin.BepIn_5x.AutoTranslatorPlugin:Awake() UnityEngine.GameObject:Internal_AddComponentWithType(Type) UnityEngine.GameObject:AddComponent(Type) BepInEx.Bootstrap.Chainloader:Start() UnityEngine.Application:.cctor() UnityEngine.Advertisements.UnityEngineApplication:get_isEditor() UnityEngine.Advertisements.UnityEngineApplication:get_isEditor() UnityEngine.Advertisements.Creator:ResolveType() UnityEngine.Advertisements.Creator:CreatePlatform() UnityEngine.Advertisements.Advertisement:.cctor() UnityEngine.Advertisements.Creator:LoadRuntime() UnityEngine.Advertisements.Creator:LoadRuntime() [C:\buildslave\unity\build\Runtime/Mono/MonoScriptCache.cpp line 356] (Filename: C:\buildslave\unity\build\Runtime/Mono/MonoScriptCache.cpp Line: 356) [Info : HarmonyX] ### Harmony id=xunity.common.hookinghelper, version=2.3.0.0, location=C:\game\BepInEx\core\0Harmony.dll, env/clr=2.0.50727.1433, platform=Win32NT ### Started from static System.Void HarmonyLib.Tools.Logger::Log(HarmonyLib.Tools.LogChannel channel, System.Func`1 message), location C:\game\BepInEx\core\0Harmony.dll ### At 2021-02-06 08.35.21 [Info : HarmonyX] Patching virtual System.Void UnityEngine.UI.Text::set_text(System.String value) with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.UGUI.Text_text_Hook::Postfix(System.Object __instance) [Info : HarmonyX] Running ILHook manipulator on virtual System.Void UnityEngine.UI.Text::set_text(System.String value) [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Void DMD?-679929472::UnityEngine.UI.Text::set_text(UnityEngine.UI.Text,System.String)): [Debug :XUnity.Common] Hooked UnityEngine.UI.Text.set_text through Harmony hooks. [Info : HarmonyX] Patching virtual System.Void UnityEngine.UI.Text::OnEnable() with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.UGUI.Text_OnEnable_Hook::Postfix(System.Object __instance) [Info : HarmonyX] Running ILHook manipulator on virtual System.Void UnityEngine.UI.Text::OnEnable() [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Void DMD?-1229326976::UnityEngine.UI.Text::OnEnable(UnityEngine.UI.Text)): [Debug :XUnity.Common] Hooked UnityEngine.UI.Text.OnEnable through Harmony hooks. [Info : HarmonyX] Patching virtual System.Void TMPro.TextMeshProUGUI::OnEnable() with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.TextMeshPro.TeshMeshProUGUI_OnEnable_Hook::Postfix(System.Object __instance) [Info : HarmonyX] Running ILHook manipulator on virtual System.Void TMPro.TextMeshProUGUI::OnEnable() [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Void DMD?-1986383232::TMPro.TextMeshProUGUI::OnEnable(TMPro.TextMeshProUGUI)): [Debug :XUnity.Common] Hooked TMPro.TextMeshProUGUI.OnEnable through Harmony hooks. [Info : HarmonyX] Patching virtual System.Void TMPro.TextMeshPro::OnEnable() with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.TextMeshPro.TeshMeshPro_OnEnable_Hook::Postfix(System.Object __instance) [Info : HarmonyX] Running ILHook manipulator on virtual System.Void TMPro.TextMeshPro::OnEnable() [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Void DMD?53174592::TMPro.TextMeshPro::OnEnable(TMPro.TextMeshPro)): [Debug :XUnity.Common] Hooked TMPro.TextMeshPro.OnEnable through Harmony hooks. [Info : HarmonyX] Patching System.Void TMPro.TMP_Text::set_text(System.String value) with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.TextMeshPro.TMP_Text_text_Hook::Postfix(System.Object __instance) [Info : HarmonyX] Running ILHook manipulator on System.Void TMPro.TMP_Text::set_text(System.String value) [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Void DMD?1994302336::TMPro.TMP_Text::set_text(TMPro.TMP_Text,System.String)): [Debug :XUnity.Common] Hooked TMPro.TMP_Text.set_text through Harmony hooks. [Info : HarmonyX] Patching System.Void TMPro.TMP_Text::SetText(System.Text.StringBuilder text) with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.TextMeshPro.TMP_Text_SetText_Hook1::Postfix(System.Object __instance) [Info : HarmonyX] Running ILHook manipulator on System.Void TMPro.TMP_Text::SetText(System.Text.StringBuilder text) [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Void DMD?15427008::TMPro.TMP_Text::SetText(TMPro.TMP_Text,System.Text.StringBuilder)): [Debug :XUnity.Common] Hooked TMPro.TMP_Text.SetText through Harmony hooks. [Info : HarmonyX] Patching System.Void TMPro.TMP_Text::SetText(System.String text, System.Boolean syncTextInputBox) with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.TextMeshPro.TMP_Text_SetText_Hook2::Postfix(System.Object __instance) [Info : HarmonyX] Running ILHook manipulator on System.Void TMPro.TMP_Text::SetText(System.String text, System.Boolean syncTextInputBox) [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Void DMD?-1295590528::TMPro.TMP_Text::SetText(TMPro.TMP_Text,System.String,System.Boolean)): [Debug :XUnity.Common] Hooked TMPro.TMP_Text.SetText through Harmony hooks. [Info : HarmonyX] Patching System.Void TMPro.TMP_Text::SetText(System.String text, System.Single arg0, System.Single arg1, System.Single arg2) with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.TextMeshPro.TMP_Text_SetText_Hook3::Postfix(System.Object __instance) [Info : HarmonyX] Running ILHook manipulator on System.Void TMPro.TMP_Text::SetText(System.String text, System.Single arg0, System.Single arg1, System.Single arg2) [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Void DMD?168846912::TMPro.TMP_Text::SetText(TMPro.TMP_Text,System.String,System.Single,System.Single,System.Single)): [Debug :XUnity.Common] Hooked TMPro.TMP_Text.SetText through Harmony hooks. [Info : HarmonyX] Patching System.Void TMPro.TMP_Text::SetCharArray(System.Char[] sourceText) with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.TextMeshPro.TMP_Text_SetCharArray_Hook1::Postfix(System.Object __instance) [Info : HarmonyX] Running ILHook manipulator on System.Void TMPro.TMP_Text::SetCharArray(System.Char[] sourceText) [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Void DMD?143974656::TMPro.TMP_Text::SetCharArray(TMPro.TMP_Text,System.Char[])): [Debug :XUnity.Common] Hooked TMPro.TMP_Text.SetCharArray through Harmony hooks. [Info : HarmonyX] Patching System.Void TMPro.TMP_Text::SetCharArray(System.Char[] sourceText, System.Int32 start, System.Int32 length) with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.TextMeshPro.TMP_Text_SetCharArray_Hook2::Postfix(System.Object __instance) [Info : HarmonyX] Running ILHook manipulator on System.Void TMPro.TMP_Text::SetCharArray(System.Char[] sourceText, System.Int32 start, System.Int32 length) [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Void DMD?347125696::TMPro.TMP_Text::SetCharArray(TMPro.TMP_Text,System.Char[],System.Int32,System.Int32)): [Debug :XUnity.Common] Hooked TMPro.TMP_Text.SetCharArray through Harmony hooks. [Info : HarmonyX] Patching System.Void TMPro.TMP_Text::SetCharArray(System.Int32[] sourceText, System.Int32 start, System.Int32 length) with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.TextMeshPro.TMP_Text_SetCharArray_Hook3::Postfix(System.Object __instance) [Info : HarmonyX] Running ILHook manipulator on System.Void TMPro.TMP_Text::SetCharArray(System.Int32[] sourceText, System.Int32 start, System.Int32 length) [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Void DMD?1135966848::TMPro.TMP_Text::SetCharArray(TMPro.TMP_Text,System.Int32[],System.Int32,System.Int32)): [Debug :XUnity.Common] Hooked TMPro.TMP_Text.SetCharArray through Harmony hooks. [Info : HarmonyX] Patching System.Void UnityEngine.Events.UnityEventBase::Invoke(System.Object[] parameters) with 1 prefixes, 0 postfixes, 0 transpilers, 0 finalizers 1 prefixes: * static System.Boolean XUnity.AutoTranslator.Plugin.Core.Hooks.UnityEventBase_Invoke_Hook::Prefix() [Info : HarmonyX] Running ILHook manipulator on System.Void UnityEngine.Events.UnityEventBase::Invoke(System.Object[] parameters) [Info : HarmonyX] Writing prefixes [Debug : HarmonyX] Generated patch (System.Void DMD?80073152::UnityEngine.Events.UnityEventBase::Invoke(UnityEngine.Events.UnityEventBase,System.Object[])): [Debug :XUnity.Common] Hooked UnityEngine.Events.UnityEventBase.Invoke through Harmony hooks. [Info : HarmonyX] Patching System.Collections.Generic.List`1 UnityEngine.Events.UnityEventBase::PrepareInvoke() with 0 prefixes, 1 postfixes, 0 transpilers, 0 finalizers 1 postfixes: * static System.Void XUnity.AutoTranslator.Plugin.Core.Hooks.UnityEventBase_PrepareInvoke_Hook::Postfix(System.Object& __result) [Info : HarmonyX] Running ILHook manipulator on System.Collections.Generic.List`1 UnityEngine.Events.UnityEventBase::PrepareInvoke() [Info : HarmonyX] Writing postfixes [Debug : HarmonyX] Generated patch (System.Collections.Generic.List`1 DMD?-1200491072::UnityEngine.Events.UnityEventBase::PrepareInvoke(UnityEngine.Events.UnityEventBase)): [Debug :XUnity.Common] Hooked UnityEngine.Events.UnityEventBase.PrepareInvoke through Harmony hooks. [Debug :XUnity.AutoTranslator] Disabling certificate checks for endpoints because of configuration. [Debug :XUnity.AutoTranslator] Probing whether OnLevelWasLoaded or SceneManager is supported in this version of Unity. Any warnings related to OnLevelWasLoaded coming from Unity can safely be ignored. [Debug :XUnity.AutoTranslator] SceneManager is supported in this version of Unity. [Debug :XUnity.AutoTranslator] Loaded resize command text files. [Debug :XUnity.AutoTranslator] --- Loading Global Translations --- [Debug :XUnity.AutoTranslator] Loaded translation text files (took 0.01 seconds) [Debug :XUnity.AutoTranslator] Created variation translations (took 0 seconds) [Debug :XUnity.AutoTranslator] Created token translations (took 0 seconds) [Info :XUnity.AutoTranslator] Loaded XUnity.AutoTranslator into Unity [2018.4.25f1] game. Crash!!! UnityPlayer.dll caused an Access Violation (0xc0000005) in module UnityPlayer.dll at 0023:79d1d53c. 29% physical memory in use. 24436 MB physical memory [0 MB free]. 424 MB process peak paging file [402 MB used]. 387 MB process peak working set [364 MB used]. System Commit Total/Limit/Peak: 3597MB/3956MB/456MB System Physical Total/Available: 3956MB/737MB System Process Count: 191 System Thread Count: 1979 System Handle Count: 89212 Disk space data for 'C:\Users\user\AppData\Local\Temp\DefaultCompany\game\Crashes\Crash_2021-02-06_113521649\': 34507608064 bytes free of 181635948544 total. Read from location 00000000 caused an access violation. Context: EDI: 0x00000000 ESI: 0x0fd5d250 EAX: 0x004fd8ac EBX: 0x004fd8c8 ECX: 0x00000000 EDX: 0x00000000 EIP: 0x79d1d53c EBP: 0x004fd874 SegCs: 0x00000023 EFlags: 0x00010216 ESP: 0x004fd868 SegSs: 0x0000002b Bytes at CS:EIP: 83 39 00 74 09 51 e8 e9 c9 75 ff 83 c4 04 8b 46 *** WARNING *** Managed call stack frames will be incorrect or missing. The Mono DLL at 'C:\game\game\Mono\EmbedRuntime\mono.dll' does not provide out-of-process stack information support. Upgrade to a newer version of the Mono Scripting Runtime for more detailed debug information. ========== OUTPUTTING STACK TRACE ================== 0x79D1D53C (UnityPlayer) Transform::GetLocalPosition 0x7964D198 (UnityPlayer) UI::RectTransform::UpdatePosAndRect 0x7964D356 (UnityPlayer) UI::RectTransform::UpdatePosAndRectRecursive 0x79645734 (UnityPlayer) UI::RectTransform::GetRect 0x1273E9D1 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.RectTransform:get_rect_Injected (UnityEngine.Rect&) 0x1273E8E9 (Mono JIT Code) UnityEngine.RectTransform:get_rect () 0x1273E767 (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo:GetComponentWidth (UnityEngine.Component) 0x1273B878 (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo:ResizeUI (object,XUnity.AutoTranslator.Plugin.Core.UIResize.UIResizeCache) 0x1273A8DB (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin:SetText (object,string,bool,string,XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo) 0x1273A3A5 (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin:SetTranslatedText (object,string,string,XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo) 0x1273204A (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin:TranslateOrQueueWebJobImmediate (object,string,int,XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo,bool,bool,bool,bool,XUnity.AutoTranslator.Plugin.Core.IReadOnlyTextTranslationCache,XUnity.AutoTranslator.Plugin.Core.ParserTranslationContext) 0x12730B8F (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin:TranslateOrQueueWebJob (object,string,bool,XUnity.AutoTranslator.Plugin.Core.TextTranslationInfo) 0x1272C963 (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin:Hook_TextChanged (object,bool) 0x1272BD21 (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin:TraverseChildrenManualHook (UnityEngine.GameObject) 0x1272BED6 (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin:TraverseChildrenManualHook (UnityEngine.GameObject) 0x1272BED6 (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin:TraverseChildrenManualHook (UnityEngine.GameObject) 0x1272AD00 (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin:ManualHookForComponents () 0x1272ABFC (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin:ManualHook () 0x06E96D80 (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin:Awake () 0x058993CF (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) 0x100F23E8 (mono) mono_set_defaults 0x1005DD45 (mono) mono_runtime_invoke 0x7980317F (UnityPlayer) scripting_method_invoke 0x79800A91 (UnityPlayer) ScriptingInvocation::Invoke 0x79800C68 (UnityPlayer) ScriptingInvocation::InvokeChecked 0x797ECB47 (UnityPlayer) MonoBehaviour::CallMethodInactive 0x797EC9BD (UnityPlayer) MonoBehaviour::CallAwake 0x797EBF4C (UnityPlayer) MonoBehaviour::AddToManager 0x797E8725 (UnityPlayer) ManagedMonoBehaviourRef::RebuildMonoInstanceFromScriptChange 0x7981CEB2 (UnityPlayer) SerializableManagedRef::SetScript 0x7953E875 (UnityPlayer) SetupScriptForMonoBehaviour 0x7953A0AC (UnityPlayer) AddComponentUnchecked 0x79539EF3 (UnityPlayer) AddComponent 0x7979F459 (UnityPlayer) MonoAddComponentWithType 0x79867F7E (UnityPlayer) GameObject_CUSTOM_Internal_AddComponentWithType 0x06E7F849 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.GameObject:Internal_AddComponentWithType (System.Type) 0x06E7F783 (Mono JIT Code) UnityEngine.GameObject:AddComponent (System.Type) 0x06E7F6B2 (Mono JIT Code) UnityEngine.GameObject:AddComponent () 0x06E94F1A (Mono JIT Code) XUnity.AutoTranslator.Plugin.Core.PluginLoader:LoadWithConfig (XUnity.AutoTranslator.Plugin.Core.IPluginEnvironment) 0x06E94E4C (Mono JIT Code) XUnity.AutoTranslator.Plugin.BepIn_5x.AutoTranslatorPlugin:Awake () 0x058993CF (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) 0x100F23E8 (mono) mono_set_defaults 0x1005DD45 (mono) mono_runtime_invoke 0x7980317F (UnityPlayer) scripting_method_invoke 0x79800A91 (UnityPlayer) ScriptingInvocation::Invoke 0x79800C68 (UnityPlayer) ScriptingInvocation::InvokeChecked 0x797ECB47 (UnityPlayer) MonoBehaviour::CallMethodInactive 0x797EC9BD (UnityPlayer) MonoBehaviour::CallAwake 0x797EBF4C (UnityPlayer) MonoBehaviour::AddToManager 0x797E8725 (UnityPlayer) ManagedMonoBehaviourRef::RebuildMonoInstanceFromScriptChange 0x7981CEB2 (UnityPlayer) SerializableManagedRef::SetScript 0x7953E875 (UnityPlayer) SetupScriptForMonoBehaviour 0x7953A0AC (UnityPlayer) AddComponentUnchecked 0x79539EF3 (UnityPlayer) AddComponent 0x7979F459 (UnityPlayer) MonoAddComponentWithType 0x79867F7E (UnityPlayer) GameObject_CUSTOM_Internal_AddComponentWithType 0x06E7F849 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.GameObject:Internal_AddComponentWithType (System.Type) 0x06E7F783 (Mono JIT Code) UnityEngine.GameObject:AddComponent (System.Type) 0x06E89EB2 (Mono JIT Code) BepInEx.Bootstrap.Chainloader:Start () 0x06E7CA44 (Mono JIT Code) UnityEngine.Application:.cctor () 0x058709A8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) 0x100F23E8 (mono) mono_set_defaults 0x1005DD45 (mono) mono_runtime_invoke 0x10060911 (mono) mono_array_new 0x100F1F74 (mono) mono_set_defaults 0x100F212D (mono) mono_set_defaults 0x100F219A (mono) mono_set_defaults 0x100EBC02 (mono) mono_debugger_run_finally ERROR: SymGetSymFromAddr64, GetLastError: 'The specified module could not be found.' (Address: 052D0066) ERROR: SymGetModuleInfo64, GetLastError: 'A dynamic link library (DLL) initialization routine failed.' (Address: 052D0066) 0x052D0066 (()) (function-name not available) 0x06E7C7D3 (Mono JIT Code) UnityEngine.Advertisements.Creator:ResolveType () 0x06E7C53B (Mono JIT Code) UnityEngine.Advertisements.Creator:CreatePlatform () 0x06E7C4A3 (Mono JIT Code) UnityEngine.Advertisements.Advertisement:.cctor () 0x058709A8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) 0x100F23E8 (mono) mono_set_defaults 0x1005DD45 (mono) mono_runtime_invoke 0x10060911 (mono) mono_array_new 0x100F1F74 (mono) mono_set_defaults 0x100F212D (mono) mono_set_defaults 0x100F219A (mono) mono_set_defaults 0x100EBC02 (mono) mono_debugger_run_finally ERROR: SymGetSymFromAddr64, GetLastError: 'The specified module could not be found.' (Address: 052D0066) ERROR: SymGetModuleInfo64, GetLastError: 'A dynamic link library (DLL) initialization routine failed.' (Address: 052D0066) 0x052D0066 (()) (function-name not available) 0x058709A8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) 0x100F23E8 (mono) mono_set_defaults 0x1005DD45 (mono) mono_runtime_invoke 0x7980317F (UnityPlayer) scripting_method_invoke 0x79800A91 (UnityPlayer) ScriptingInvocation::Invoke 0x79546988 (UnityPlayer) RuntimeInitializeOnLoadManager::ExecuteInitializeOnLoad 0x7954828F (UnityPlayer) RuntimeInitializeOnSceneLoadedBeforeAwake 0x7956838F (UnityPlayer) CallbackArray3::Invoke 0x795675F5 (UnityPlayer) LoadSceneOperation::CompleteAwakeSequence 0x79567E80 (UnityPlayer) LoadSceneOperation::IntegrateMainThread 0x7956A61B (UnityPlayer) PreloadManager::WaitForAllAsyncOperationsToComplete 0x78F6D3C3 (UnityPlayer) PerformMainLoop 0x78F6B918 (UnityPlayer) MainMessageLoop 0x78F6FC9B (UnityPlayer) UnityMainImpl 0x78F71905 (UnityPlayer) UnityMain 0x00FD1015 (game) wWinMain 0x00FD11D1 (game) __scrt_common_main_seh 0x75D8FA29 (KERNEL32) BaseThreadInitThunk 0x779D75F4 (ntdll) RtlGetAppContainerNamedObjectPath 0x779D75C4 (ntdll) RtlGetAppContainerNamedObjectPath ========== END OF STACKTRACE =========== SymInit: Symbol-SearchPath: '.;C:\game;C:\game;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 534, UserName: 'user' OS-Version: 10.0.0 C:\game\game.exe:game.exe (00FD0000), size: 655360 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2018.4.25.31738 C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (77970000), size: 1716224 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.662 C:\Windows\System32\KERNEL32.DLL:KERNEL32.DLL (75D70000), size: 983040 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.662 C:\Windows\System32\KERNELBASE.dll:KERNELBASE.dll (76390000), size: 2179072 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\game\UnityPlayer.dll:UnityPlayer.dll (78960000), size: 33640448 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2018.4.25.31738 C:\Windows\System32\USER32.dll:USER32.dll (77370000), size: 1662976 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\System32\win32u.dll:win32u.dll (75D50000), size: 98304 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\System32\GDI32.dll:GDI32.dll (75BC0000), size: 143360 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\System32\gdi32full.dll:gdi32full.dll (76750000), size: 901120 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\System32\msvcp_win.dll:msvcp_win.dll (776A0000), size: 503808 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\ucrtbase.dll:ucrtbase.dll (765B0000), size: 1179648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\ole32.dll:ole32.dll (762A0000), size: 929792 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\System32\RPCRT4.dll:RPCRT4.dll (75C90000), size: 786432 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\VERSION.dll:VERSION.dll (74FA0000), size: 32768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\combase.dll:combase.dll (76890000), size: 2629632 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\System32\msvcrt.dll:msvcrt.dll (75AF0000), size: 782336 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.0.19041.546 C:\Windows\System32\SHLWAPI.dll:SHLWAPI.dll (77510000), size: 282624 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\System32\PSAPI.DLL:PSAPI.DLL (76B20000), size: 24576 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\SETUPAPI.dll:SETUPAPI.dll (75E60000), size: 4407296 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\cfgmgr32.dll:cfgmgr32.dll (777F0000), size: 241664 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\bcrypt.dll:bcrypt.dll (77830000), size: 102400 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\ADVAPI32.dll:ADVAPI32.dll (766D0000), size: 499712 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.610 C:\Windows\System32\sechost.dll:sechost.dll (77180000), size: 483328 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\System32\SHELL32.dll:SHELL32.dll (76BC0000), size: 5980160 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\System32\WS2_32.dll:WS2_32.dll (77780000), size: 405504 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\OLEAUT32.dll:OLEAUT32.dll (75830000), size: 614400 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\IMM32.dll:IMM32.dll (75BF0000), size: 151552 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\OPENGL32.dll:OPENGL32.dll (7AD50000), size: 1060864 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\CRYPT32.dll:CRYPT32.dll (75940000), size: 1024000 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\WINMM.dll:WINMM.dll (73AD0000), size: 163840 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\game\WINHTTP.dll:WINHTTP.dll (50070000), size: 32768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 3.0.2.2 C:\Windows\SYSTEM32\IPHLPAPI.DLL:IPHLPAPI.DLL (74FD0000), size: 204800 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\HID.DLL:HID.DLL (50060000), size: 40960 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\GLU32.dll:GLU32.dll (7AE70000), size: 258048 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\WindowsCodecs.dll:WindowsCodecs.dll (71530000), size: 1507328 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\dwmapi.dll:dwmapi.dll (73830000), size: 155648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\WSOCK32.dll:WSOCK32.dll (546A0000), size: 32768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.1 C:\Windows\system32\WINHTTP.dll:WINHTTP.dll (73D80000), size: 794624 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\shcore.dll:shcore.dll (77850000), size: 552960 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\kernel.appcore.dll:kernel.appcore.dll (740D0000), size: 61440 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\bcryptPrimitives.dll:bcryptPrimitives.dll (75C20000), size: 380928 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.662 C:\Windows\system32\uxtheme.dll:uxtheme.dll (74A10000), size: 475136 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\windows.storage.dll:windows.storage.dll (75220000), size: 6328320 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\Wldp.dll:Wldp.dll (751F0000), size: 147456 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.662 C:\Windows\SYSTEM32\profapi.dll:profapi.dll (740E0000), size: 118784 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\game\Mono\EmbedRuntime\mono.dll:mono.dll (10000000), size: 3764224 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 1.0.0.1 C:\Windows\SYSTEM32\MSWSOCK.dll:MSWSOCK.dll (70E10000), size: 335872 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\NSI.dll:NSI.dll (75BB0000), size: 28672 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.610 C:\Windows\SYSTEM32\dhcpcsvc6.DLL:dhcpcsvc6.DLL (70B50000), size: 81920 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\dhcpcsvc.DLL:dhcpcsvc.DLL (70C60000), size: 90112 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\DNSAPI.dll:DNSAPI.dll (70D00000), size: 598016 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\system32\napinsp.dll:napinsp.dll (70DF0000), size: 69632 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\system32\pnrpnsp.dll:pnrpnsp.dll (70DD0000), size: 90112 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\system32\wshbth.dll:wshbth.dll (70DC0000), size: 65536 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\system32\NLAapi.dll:NLAapi.dll (70DA0000), size: 90112 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\winrnr.dll:winrnr.dll (70CF0000), size: 57344 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\CRYPTSP.dll:CRYPTSP.dll (74900000), size: 77824 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\system32\rsaenh.dll:rsaenh.dll (748D0000), size: 192512 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\CRYPTBASE.dll:CRYPTBASE.dll (74580000), size: 40960 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\MSCTF.dll:MSCTF.dll (775C0000), size: 868352 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\d3d11.dll:d3d11.dll (60DD0000), size: 1966080 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\dxgi.dll:dxgi.dll (61FA0000), size: 794624 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_a086f01cc7be643a\igd10iumd32.dll:igd10iumd32.dll (7AEB0000), size: 19611648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 27.20.100.8681 C:\Windows\SYSTEM32\ncrypt.dll:ncrypt.dll (5CAC0000), size: 135168 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\NTASN1.dll:NTASN1.dll (5CFF0000), size: 163840 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_a086f01cc7be643a\igdgmm32.dll:igdgmm32.dll (62070000), size: 1835008 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 27.20.100.8681 C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_a086f01cc7be643a\igc32.dll:igc32.dll (5E3E0000), size: 40792064 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 27.20.100.8681 C:\Windows\SYSTEM32\dxcore.dll:dxcore.dll (751C0000), size: 180224 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\System32\clbcatq.dll:clbcatq.dll (778E0000), size: 516096 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2001.12.10941.16384 C:\Windows\system32\wbem\wbemprox.dll:wbemprox.dll (5D550000), size: 53248 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.610 C:\Windows\SYSTEM32\wbemcomn.dll:wbemcomn.dll (5D560000), size: 430080 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\system32\wbem\wbemsvc.dll:wbemsvc.dll (5D630000), size: 65536 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.610 C:\Windows\system32\wbem\fastprox.dll:fastprox.dll (5D020000), size: 823296 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\amsi.dll:amsi.dll (71B70000), size: 73728 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\USERENV.dll:USERENV.dll (74F60000), size: 151552 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.572 C:\Program Files\Avast Software\Avast\x86\aswAMSI.dll:aswAMSI.dll (719F0000), size: 1523712 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 20.10.5824.0 C:\Windows\SYSTEM32\POWRPROF.dll:POWRPROF.dll (73880000), size: 278528 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\UMPDC.dll:UMPDC.dll (73F10000), size: 53248 (result: 0), SymType: '-deferred-', PDB: '' C:\Windows\System32\MMDevApi.dll:MMDevApi.dll (737C0000), size: 434176 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\System32\DEVOBJ.dll:DEVOBJ.dll (73790000), size: 147456 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\AUDIOSES.DLL:AUDIOSES.DLL (709C0000), size: 1277952 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\resourcepolicyclient.dll:resourcepolicyclient.dll (70970000), size: 61440 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\xinput1_3.dll:xinput1_3.dll (0FB40000), size: 90112 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 9.18.944.0 C:\Windows\SYSTEM32\textinputframework.dll:textinputframework.dll (713D0000), size: 761856 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\CoreUIComponents.dll:CoreUIComponents.dll (71150000), size: 2613248 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\CoreMessaging.dll:CoreMessaging.dll (710B0000), size: 634880 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\ntmarta.dll:ntmarta.dll (74530000), size: 167936 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.546 C:\Windows\SYSTEM32\wintypes.dll:wintypes.dll (70FD0000), size: 897024 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.746 C:\Windows\SYSTEM32\dbghelp.dll:dbghelp.dll (743A0000), size: 1605632 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.662 C:\Windows\SYSTEM32\SspiCli.dll:SspiCli.dll (74AC0000), size: 163840 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.19041.488 ```
gravydevsupreme commented 3 years ago

Try to set EnableUIResizing=False in the configuration and try again.

nanikit commented 3 years ago

It seems to be resolved. The game still crashes at termination but it's not critical on playing.

Can it be patched so we don't need to edit the configuration? If it can't, this issue can be closed.

gravydevsupreme commented 3 years ago

Doubt that there is a way to discover whether or not the functionality works without crashing the game. Seen it in a few other games, but the issue is always clear from the stack trace. The call to a specific function causes the game to crash without warning.