Reputation: 1125
I've been using Firebase crashlytics for some time and have been trying to get more information on crashes and exceptions on iOS & Google builds. However, I'm can't seem to get the line numbers to show up in Unity C# scripts. Does Crashlytics offer line number details? or I'll have to include another sdk?
Below is an example of an iOS crash.
Non-fatal Exception: InvalidOperationException
0 ??? 0x0 ThrowIfCheckDependenciesRunning (Firebase.FirebaseApp)
1 ??? 0x0 GetInstance (Firebase.FirebaseApp)
2 ??? 0x0 get_DefaultInstance (Firebase.FirebaseApp)
3 ??? 0x0 get_DefaultInstance (Firebase.RemoteConfig.FirebaseRemoteConfig)
4 ??? 0x0 FetchRemoteConfig (FirebaseServer)
5 ??? 0x0 ForegroundPostSynced ()
6 ??? 0x0 OnSuccessEmp ()
7 ??? 0x0 OnSuccessEmp ()
8 ??? 0x0 OnSuccess
9 ??? 0x0 OnSuccess
Upvotes: 1
Views: 854
Reputation: 309
Unity iOS builds should upload crashlytics symbols automatically (after Crashlytics version 8.6.1) as part of the Xcode build process. This then allows stacktraces to show c# line numbers.
What versions of the following are you using?
Additionally, as another thing to check, are those stack frames/method calls in your user code, in a plugin or somewhere else? If they are not in your code, less information may be available.
Upvotes: 1