firebase / firebase/quickstart-unity

[Bug] ANR traces are not symbolicated

Open
#1,280 5 comments 0 reactions 0 assignees View on GitHub
api: crashlytics type: feature request
Dominant language
C#
Stars
923
Forks
456
PR merge metrics
No merged PRs in 30d

Description

### [REQUIRED] Please fill in the following fields:

* Unity editor version: 2020.3.32f1
* Firebase Unity SDK version: 8.8.0
* Source you installed the SDK: .unitypackage
* Problematic Firebase Component: Crashlytics
* Other Firebase Components in use: Analytics
* Additional SDKs you are using: Facebook, Singular, AppLovin MAX SDK, AdMob, ironSource, AdColony,
* Platform you are using the Unity editor on: Windows 11 Pro
* Platform you are targeting: Android
* Scripting Runtime: IL2CPP

### [REQUIRED] Please describe the issue here:

I can see my ANR in the Crashlytics but it is not symbolicated:
![image](https://user-images.githubusercontent.com/1997978/169748198-c6073d2f-2b2b-4b44-8f19-6922aaf38f27.png)

As a text:
![image](https://user-images.githubusercontent.com/1997978/169800627-185ded6c-5774-4bdb-bfed-c15ca91f72a7.png)

#### Steps to reproduce:

It is 100% reproducible.

1. I am building the game locally;
2. Then I upload symbols using Firebase CLI and it works as expected: `Crashlytics symbol file uploaded successfully;`
3. Then I run the game and generate an ANR making an infinite loop in the `main` thread.
4. I see my ANR report in the Firebase Crashlytics but it is not symbolicated.

The interesting part:

I used Unity's Stacktrace Utility (comes with Android Logcat package) to symbolicate this stack trace using the same symbols I uploaded earlier to Crashlytics and it works as expected:
![image](https://user-images.githubusercontent.com/1997978/169799830-e446582a-9724-4aa1-88f6-3965c975baac.png)

Under the hood this utility uses addr2line so I guess this proves that this trace definitely can be symbolicated!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.