For app users, perhaps one of the most infuriating errors to encounter is the dreaded “Application Not Responding” (ANR) message. This unhelpful notification appears whenever an app has been hanging for a certain period of time, and the user must decide whether to continue waiting or force-quit the app.
It’s an unfortunate choice to be confronted with, especially if the user is in the middle of a purchase or on the brink of accomplishing a task or goal. The end result? A poor user experience with all the telltale symptoms and emotions of a full-on app crash.
What happens next varies, but irritated users may vent their frustrations by contributing a poor rating or review in the App Store. Others may immediately delete the app and search for an alternative. Some do both.
For Unity app developers, ANRs also happen to be one of the most aggravating error scenarios because these types of errors are extremely hard to detect and fix.
We have great news to share: Bugsnag now provides full support for ANR error detection in Unity apps.
By identifying and detecting ANR scenarios from inside the code and providing a full stack trace, Bugsnag empowers Unity developers with real data so they can quickly find and address the code responsible for the error.
How does error detection for ANRs work with Unity apps?
To enable fast decision making around prioritization, Bugsnag groups ANRs by cause. With all relevant information in one place, it’s easier for developers to determine which ANRs to fix first, as well as weigh ANRs against other errors that are causing the app to crash.
Since ANRs count towards an app’s overall stability score, Bugsnag also makes it possible to track progress from release to release and discover if new features are causing a higher rate of ANRs.
Much like end users, Unity developers have historically lacked insight into ANRs because they haven’t had the right tools to trace the source of the problem. Here’s why.
Now that ANR errors are handled in Bugsnag alongside all other error data, Unity developers no longer fall victim to these frustrating circumstances, and app users are less likely to experience ANRs in the future. Everyone wins.
Bugsnag makes it easy to level up your Unity game against ANRs without delay.
Simply upgrade to the latest version of Bugsnag’s notifier libraries for Unity. You’ll need to Enable ANR detection via the Unity Inspector when configuring Bugsnag. If you need additional information, check out our Unity documentation.
It’s as simple as that. ANRs will be detected from that moment forward and start appearing in your Bugsnag dashboard.
Say goodbye to ANR headaches and hello to total control.