How to detect ANR on Android and print C# stack trace

Is there anyway to catch an ANR with C# code and print C# source code stack trace like in Editor log? Thanks for any reply.

There are crash-reporting packages you can integrate such as:

  • the built-in Unity crash reporting
  • Crashlytics (from Firebase)
  • Backtrace.io

Backtrace.io looks very promising, I will look into it. Thank you

1 Like

does back trace submits ANR stack trace automatically ? does it provide enough details to solve the problem?