Search Unity

Bug Unity 2022.1.9f1c1 Windows non-development standalone player insists downloading debug symbols

Discussion in 'Editor & General Support' started by feisuzhu, Jul 17, 2022.

  1. feisuzhu

    feisuzhu

    Joined:
    May 18, 2015
    Posts:
    9
    I have built my game into Windows standalone player and found it stuck for no reason.

    After some debugging I found that if I try to call `Debug.Log` or something it tries to resolve a human readable stacktrace, and then decides to download debug symbols HERE AND NOW, IN THE MAIN THREAD, makes the game stuck and non-responsible completely.

    Same issue exists in 2022.1.7.f1c1 too.


    upload_2022-7-17_17-47-11.png
    In UnityPlayer.dll `StackWalker::LoadModules`, dbghelp is instructed to download symbols from msdl.microsoft.com. This logic is guarded by a flag, but.....


    upload_2022-7-17_17-51-6.png
    The flag is hardcoded here, so, there's no mean to bypass this behaviour.


    This is huge since my target audiences lives where global Internet connectivity is poor.
     
  2. feisuzhu

    feisuzhu

    Joined:
    May 18, 2015
    Posts:
    9
    OK, never mind....

    Changed Stack Trace settings from Full to ScriptOnly, problem solved

    upload_2022-7-18_0-22-45.png
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Yikes, thanks for reporting this.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680