Android IL2CPP Symbolication

Hi,

I am confused about the basic concept of symbolication of IL2CPP crashes. On iOS we’ve been using it forever and every time we make a production release, we also upload the symbols to the Fabric so that it can symbolicate crashes properly (as in screenshot below). Until Fabric process the file we uploaded it doesn’t even register crashes to the dashboard.

However on Android, we have recently moved from Mono to IL2CPP. I used to use add2line tool to symbolicate when there’s a crash without any information and gain some info about it. Now I have no idea what to do to symbolicate crashes anymore, I have used stuff like;

ndk-stack -sym /Unity/PlaybackEngines/AndroidPlayer/Variations/il2cpp/Release/Symbols/<ABI OF CRASH> -dump crashDump.txt

but of course it doesn’t help me at all, since I think the generated symbolication file needs to be used somehow to symbolicate the crash dump…

For every Android build we now get “gameName-1-v1.symbols.zip” (1.5gb~) file. We are not uploading it anywhere, it’s not being used at all but Fabric still registers crashes to dashboard without asking for the symbol zip. ( Huge jump on tgkill (signal 6) crashes after moving to IL2CPP. for example.)

This must be a basic lack of information on my side but I just can’t wrap my head about how should I symbolicate my Android crash dumps properly, and how does Fabric can register them without asking for zip file.

Can someone give a clear instructions or explanation on this problem, I’m pretty confused at the moment.

4814261--461066--Screen Shot 2019-08-02 at 11.34.47 AM.png

Hi Fesener! Have you taken a look at our Cloud Diagnostics service?

It’s capable of capturing both native crashes and managed exceptions. It handles symbol upload and symbolication automatically for Android (iOS requires you to download the symbols from iTunes Connect for published builds). Integrating it into your project is as easy as checking the box in the settings window.

You can check out these links to learn more:
https://unity3d.com/unity/features/cloud-diagnostics
https://unitytech.github.io/clouddiagnostics/userreporting/UnityCloudDiagnosticsSettingUp.html

I didn’t know about that feature maybe we can consider moving to cloud diagnostics going forward, thanks.

However right now I’m looking for basic information about the symbolication process on Android, without starting to use another Unity service.

3 Likes