[CRASHLYTICS] Android native crashes only have "???" in the title
See original GitHub issueI’m seeing a strange issue where native Android crashes show up in Crashlytics with “???” as the title instead of something more useful. I’m not sure if this is expected behaviour but it doesn’t feel like it.
Setup: Unity Version: 2019.4.26f1 Firebase Version: 8.8.0
STR:
-
Setup up the quickstart-unity project for Crashlytics.
-
Build for Android
-
Trigger a native crash* and re-open the app.
-
(Optional) Upload the symbol files
-
Go to the Crashlytics dashboard and see the crash ** It should have a title “???”
-
I used this method to trigger a native crash however it also appears in our production environment for native other native crashes:
public void ThrowNativeCrash()
{
// https://stackoverflow.com/questions/17511070/android-force-crash-with-uncaught-exception-in-thread
var message = new AndroidJavaObject("java.lang.String", "This is a test crash, ignore.");
var exception = new AndroidJavaObject("java.lang.Exception", message);
var looperClass = new AndroidJavaClass("android.os.Looper");
var mainLooper = looperClass.CallStatic<AndroidJavaObject>("getMainLooper");
var mainThread = mainLooper.Call<AndroidJavaObject>("getThread");
var exceptionHandler = mainThread.Call<AndroidJavaObject>("getUncaughtExceptionHandler");
exceptionHandler.Call("uncaughtException", mainThread, exception);
}
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Crashlytics doesn't display native crashes
Fabric is setup and working with the Java layer crashes. The problem: Native crashes get reported but the debug symbols are missing, there...
Read more >Get Android NDK crash reports | Firebase Crashlytics - Google
If your Android app contains native libraries, you can enable full stack traces and detailed crash reports for your native code from Firebase...
Read more >Customize your Firebase Crashlytics crash reports
iOS+. Android Flutter Unity. This guide describes how to customize your crash reports using the Firebase Crashlytics SDK. By default, Crashlytics ...
Read more >[SOLVED] Does anyone have Firebase Crashlytics ...
For my JUCE project, I have setup Crashlytics following the relevant guides for Installing Crashlytics and enabling NDK crash monitoring.
Read more >How can I collect native crashes info without Crashlytics ...
I need to collect some simple data about native crashes (C/C++/...) hapenning in my app - the fact that a crash has happened...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also, I followed the steps here to upload the symbols to Crashlytics and it seemed to make no difference.
Since there haven’t been any recent updates here, I am going to close this issue.
@jamier-hh if you’re still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.