Unity Crashlytics (Fabric) integration

Is there any tutorial how to achieve this? I followed their official tutorial and managed to successfully import Fabric into Unity project, but no crashes/exceptions are recorded on Fabric dashboard. I wonder is there something that I should do with PlayerSettings for iOS or some additional setup in XCode project?

Hey,

There are no special steps to do, check if you are receiving events in the “Answers” section. If you do, then the integration you did is fine. Also note that in order to see crashes you need to upload the “dsym” file to crashlytics (you can find in the settings panel).

Hey, thanks for the response.

I’m receiving events on “Answers”, so I guess it’s connected. On dSYM settings I see message "
Yay! We are not missing any dSYMs." although I never uploaded any dSym file. I added a screenshot in attachment. Do you think I should try to upload dSYM file anyway? Also, since my application is not yet finished I didn’t upload it on App Store, so I’m testing Fabric locally (I build XCode project and run it on my device). Is it possible that it’s not logging events when application is running directly on device through XCode?

I would upload the dsym regardless.
There should be no problem receiving the crashes and exceptions while the app is not published. You should run a test where you call “Crashlytics.Crash();” and see if you’re receiving the exception then.
Note that crashlytics doesn’t report to you crashes that were caused by out of memory issues. They have some kind of system to monitor such issues but its not straight forward.

Hey when following the installation instructions for crashlytics I got stuck in the part where you
Initialize Your Kit

because I only see the AppDelegate.Listener.mm and not AppDelegate.m

can anyone please help me figure out how to initialize my kit

Hey Folks, anybody experience “Couldn’t find Crashlytics Gameobject” warnings every time a new scene is loaded?

Are you guys adding the Fabric and Crashlytics GameObjects to every scene, or just the first scene in your project? Any help would be appreciated!

2 Likes

Hello,

I had this problem, Seems like Fabric does not work with .Net 4.6. Reverting to 3.5 Solved the problem for me.

2 Likes

hi
can you please tell how to implement Answers in unity
my Answers script did not get any instance of level start log

Heads up, Crashlytics is being canned soon I believe. We still use it a little, but mainly running raygun now for error logging

@SamuelGoldenbaum that is not correct.

Crashlytics is merging with the Firebase Suite. Currently the Unity SDK and installation is in a transition state but it will be supported as usual. The difference is that you will have to link your Fabric Crashlytics project into your Firebase project.

Fabric and Firebase roadmap: https://get.fabric.io/roadmap
Status on the Crashlytics support in the Firebase SDK: https://github.com/firebase/quickstart-unity/issues/147