Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Getting a crash dump or log from a Win 10 Unity-built app that freezes on close

Discussion in 'Editor & General Support' started by JHSV, Mar 13, 2019.

  1. JHSV

    JHSV

    Joined:
    Jul 11, 2013
    Posts:
    26
    I was able to follow the instructions here to get my Windows standalone Unity app to generate crash dumps when built and run on Win 10: https://docs.unity3d.com/Manual/WindowsDebugging.html

    I was able to get it to dump successfully for test crashes induced by Utils.ForceCrash. https://docs.unity3d.com/2018.3/Documentation/ScriptReference/Diagnostics.Utils.ForceCrash.html

    However, the issue for which I'm trying to get a dump is a freeze that happens sometimes when I close the application. The freeze prevents the exiting of the application, so the user must force close it. So far, I have not had any success viewing the freeze conditions or cause with Player logs, output_log, or Visual Studio debugging. It is not reproducible in the editor.

    No dump is generated either. How can I get a dump for this freeze, and if that is not possible, how can I get any kind of visibility into the conditions that produced this freeze?