Search Unity

Exception/Crash: How to inform the users about what happened?

Discussion in 'Unity Cloud Diagnostics' started by wahntin, Apr 7, 2020.

  1. wahntin

    wahntin

    Joined:
    Sep 17, 2019
    Posts:
    83
    Hi everyone,

    we are currently trying to improve the way exceptions/crashes are handled by our game and I was wondering how other games handle this. Obviously there is no direct way to just make any game crash and see what happens, so I'd like to ask you, how you handle this.

    Here is what we are currently doing: All exceptions are caught and handled. For each exception the system tries to output a log file with the exception. In addition we open a popup form that displays the error message to the user. Often times this will help them to identify the problem based on FAQ or by the error message itself (e.g. missing write privileges).

    Now we want to move to IL2CPP, so we can't use the existing popup form anymore (was .net based).

    How does your game handle exceptions?

    Best, Martin
     
    Last edited: Apr 8, 2020
  2. NealZhangAofL

    NealZhangAofL

    Joined:
    Jun 18, 2020
    Posts:
    7
    @wahntin how do your team handle crash? I assume once the app crashes, you will have no chance to send any report from the product. Unity SDK may still run in the background to send the crash log to Unity itself?