Search Unity

Game crashes and restarts phone

Discussion in 'Android' started by icebear007, Feb 15, 2019.

  1. icebear007

    icebear007

    Joined:
    Jun 8, 2016
    Posts:
    67
    Hi,

    I'm running into a very bad game crash on Android. The game loads fine and I can do all things in the first scene. However, when loading the second scene not only the game crashes but it crashes Android as well and my phone restarts. The last log entries I get in the Android Device Monitor are:


    Does anyone have an idea how to get more information about the crash?

    I'm using Unity 2019.1.0b3 and OxygenOS 9.0.3

    Thanks!
     
    Last edited: Feb 16, 2019
  2. dominykasm

    dominykasm

    Unity Technologies

    Joined:
    May 27, 2018
    Posts:
    70
    Hi, could you attach a logcat of the crash?
     
  3. icebear007

    icebear007

    Joined:
    Jun 8, 2016
    Posts:
    67
    After several tries I've managed to get an error without the phone restarting immediately.

    I've attached the full logcat output (removing internal log entries).
     

    Attached Files:

    Last edited: Feb 16, 2019
  4. icebear007

    icebear007

    Joined:
    Jun 8, 2016
    Posts:
    67
    I took out Vulkan from the Graphics API list, leaving only OpenGLES3. The game seems to be stable now.