[Bug] ANR traces are not symbolicated

Open
#1,280 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
unity

Research direction

Start by reviewing the Crashlytics symbol-upload workflow described in the issue and compare it with Unity's Stacktrace Utility and its addr2line-based symbolication. Reproduce the Android IL2CPP ANR using the listed Unity and Firebase versions, then verify that the resulting Crashlytics trace is symbolicated rather than showing raw addresses.

Written by the indexing model from the issue text.

Description

api: crashlytics type: feature request
[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

As a text:
image

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

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

Dominant language
C#
Stars
923
Forks
456
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/quickstart-unity

All issues in firebase/quickstart-unity

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.