Search Unity

Debugging Android ANR

Discussion in 'Editor & General Support' started by mdttheory, Jan 23, 2015.

  1. mdttheory

    mdttheory

    Joined:
    Nov 6, 2014
    Posts:
    11
    Hello all,

    We released an app to the Android market and most phones run it well but there have been a few reports of crashes on application startup with certain devices and I see in the development panel that a few ANRs have been reported. Here is one:

    http://pastebin.com/wiwYyTeF

    I have read up on ANRs but haven't found anything specific to debugging a Unity project. I have no idea where to start in interpreting that ANR as it is very large. Any suggestions on where to start?


    Also, I came across Systrace and Traceview in my reading but I don't know how to use those with a Unity project. Do people usually export Unity projects to android projects and debug that way?

    Thank you!
     
  2. mdttheory

    mdttheory

    Joined:
    Nov 6, 2014
    Posts:
    11
  3. Seraphim-Whiteless

    Seraphim-Whiteless

    Joined:
    Jun 23, 2014
    Posts:
    197