Earth at night from space

Backtrace Blog

For the latest developments from our engineering team, head over to the Engineering Blog at engineering.backtrace.io.

Hang Reporting Improvements In Backtrace-Unity 3.4 Release

The latest backtrace-unity release improves the detecting of and reporting upon hangs on mobile platforms. Why is this important? One of the toughest challenges game developers face is debugging hangs in their mobile games, sometimes referred to as ANR (Application Not Responding).

Hang Reporting Improvements In Backtrace-Unity 3.4 Release

The latest backtrace-unity release improves detecting of and reporting upon hangs on mobile platforms. Why is this important?

One of the toughest challenges game developers face is debugging hangs in their mobile games, sometimes referred to as ANR (Application Not Responding). Hangs can occur in 3rd party libraries, Unity game code, native mobile code (Java/Kotlin/NDK), but Backtrace detects them all!

In the previous release, Backtrace introduced reporting on all hangs on both iOS and Android, and in the latest release, we’ve improved the data collection and visualization of these hangs by automatically collecting which thread is responsible and highlighting this by default in the UI. We’ve also reduced false positives caused by pausing or sending the game to the background.

ENABLE ANR REPORTING

After enabling backtrace-unity for your game, you can use the Backtrace Configuration Panel in the Unity Editor to toggle “Handle ANR”.

These options will ensure that the backtrace-unity plugin will capture and submit a dump formatted error after detecting a hang in the Unity engine or any other private or 3rd party plugins.

VIEWING A HANG

Hang reports will be identifiable in Backtrace with an error.type of Hang. (Note: error.type is an attribute that you may need to index under Project Settings/Attributes after receiving a new crash). Programmers can use Backtrace’s Debugger to view the report, including a list of the threads running within the process at the time of crash, human readable call stacks for each frame where symbols were made available, system and custom metadata, and more.

TRY IT TODAY!

Backtrace is a Unity VSP (Verified Solution Partner). You can learn more about how we work with Unity and start a free trial at https://backtrace.io/unity.

Subscribe to our newsletter

Stay updated on the latest industry news, technology, events, and all things Backtrace.