Hi, im trying to launch my game on android and it seems that it doesnt go well with GRPC but i cant figure out why. in logcat i see something like: Code (CSharp): 05-28 10:53:22.344 7821 7840 I Unity : LobbyGrpcClient created singleton (DontDestroyOnLoad) 05-28 10:53:22.344 7821 7840 I Unity : UnityEngine.Logger:Log(LogType, Object) 05-28 10:53:22.344 7821 7840 I Unity : LobbyGrpcClient:InitializeSingleton() 05-28 10:53:22.344 7821 7840 I Unity : 05-28 10:53:22.355 7821 7840 E CRASH : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 05-28 10:53:22.355 7821 7840 E CRASH : Version '2020.3.3f1 (76626098c1c4)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'armeabi-v7a' 05-28 10:53:22.356 7821 7840 E CRASH : Build fingerprint: 'samsung/dream2qltezh/dream2qltechn:7.1/N2G48H/G9550ZHU1AQEE:user/release-keys' 05-28 10:53:22.356 7821 7840 E CRASH : Revision: '12' 05-28 10:53:22.356 7821 7840 E CRASH : ABI: 'arm' 05-28 10:53:22.357 7821 7840 E CRASH : Timestamp: 2021-05-28 10:53:22+0300 05-28 10:53:22.357 7821 7840 E CRASH : pid: 7821, tid: 7840, name: UnityMain >>> com.nmh.UltimateTowerDefense <<< 05-28 10:53:22.357 7821 7840 E CRASH : uid: 10045 05-28 10:53:22.357 7821 7840 E CRASH : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 05-28 10:53:22.357 7821 7840 E CRASH : r0 00000001 r1 00000017 r2 00000001 r3 c47a7650 05-28 10:53:22.357 7821 7840 E CRASH : r4 00000001 r5 a44454d0 r6 a5faa738 r7 00000013 05-28 10:53:22.358 7821 7840 E CRASH : r8 a5faa7a8 r9 a5faa7a0 r10 00000003 r11 a5faa700 05-28 10:53:22.358 7821 7840 E CRASH : ip 0706d66c sp a5faa700 lr 06263f60 pc 0c4175b4 05-28 10:53:22.358 7821 7840 E CRASH : 05-28 10:53:22.358 7821 7840 E CRASH : backtrace: 05-28 10:53:22.359 7821 7840 E CRASH : #00 pc 000175b4 /system/lib/arm/nb/libc.so 05-28 10:53:22.360 7821 7840 E CRASH : #01 pc 00245a9c /data/app/com.nmh.UltimateTowerDefense-2/lib/arm/libil2cpp.so (BuildId: 7e034123d7ee607a1532e028dfc730a664276be3) 05-28 10:53:22.513 7821 7840 E CRASH : Tombstone written to: /storage/emulated/0/Android/data/com.nmh.UltimateTowerDefense/files/tombstone_01 05-28 10:53:22.514 7821 7840 E AndroidRuntime: FATAL EXCEPTION: UnityMain 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Process: com.nmh.UltimateTowerDefense, PID: 7821 05-28 10:53:22.514 7821 7840 E AndroidRuntime: java.lang.Error: FATAL EXCEPTION [UnityMain] 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Unity version : 2020.3.3f1 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Device model : samsung SM-G973N 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Device fingerprint: samsung/beyond1qlteue/beyond1q:7.1.2/PPR1.190810.011/700201208:user/release-keys 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Build Type : Release 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Scripting Backend : IL2CPP 05-28 10:53:22.514 7821 7840 E AndroidRuntime: ABI : armeabi-v7a 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Strip Engine Code : true 05-28 10:53:22.514 7821 7840 E AndroidRuntime: 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Caused by: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Version '2020.3.3f1 (76626098c1c4)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'armeabi-v7a' 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Build fingerprint: 'samsung/dream2qltezh/dream2qltechn:7.1/N2G48H/G9550ZHU1AQEE:user/release-keys' 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Revision: '12' 05-28 10:53:22.514 7821 7840 E AndroidRuntime: ABI: 'arm' 05-28 10:53:22.514 7821 7840 E AndroidRuntime: Timestamp: 2021-05-28 10:53:22+0300 05-28 10:53:22.514 7821 7840 E AndroidRuntime: pid: 7821, tid: 7840, name: UnityMain >>> com.nmh.UltimateTowerDefense <<< 05-28 10:53:22.514 7821 7840 E AndroidRuntime: uid: 10045 05-28 10:53:22.514 7821 7840 E AndroidRuntime: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 05-28 10:53:22.514 7821 7840 E AndroidRuntime: r0 00000001 r1 00000017 r2 00000001 r3 c47a7650 05-28 10:53:22.514 7821 7840 E AndroidRuntime: r4 00000001 r5 a44454d0 r6 a5faa738 r7 00000013 05-28 10:53:22.514 7821 7840 E AndroidRuntime: r8 a5faa7a8 r9 a5faa7a0 r10 00000003 r11 a5faa700 05-28 10:53:22.514 7821 7840 E AndroidRuntime: ip 0706d66c sp a5faa700 lr 06263f60 pc 0c4175b4 05-28 10:53:22.514 7821 7840 E AndroidRuntime: 05-28 10:53:22.514 7821 7840 E AndroidRuntime: backtrace: 05-28 10:53:22.514 7821 7840 E AndroidRuntime: #00 pc 000175b4 /system/lib/arm/nb/libc.so 05-28 10:53:22.514 7821 7840 E AndroidRuntime: #01 pc 00245a9c /data/app/com.nmh.UltimateTowerDefense-2/lib/arm/libil2cpp.so (BuildId: 7e034123d7ee607a1532e028dfc730a664276be3) 05-28 10:53:22.514 7821 7840 E AndroidRuntime: 05-28 10:53:22.514 7821 7840 E AndroidRuntime: at libc.0x175b4(Native Method) 05-28 10:53:22.514 7821 7840 E AndroidRuntime: at libil2cpp.0x245a9c(Native Method) 05-28 10:53:22.514 2171 2285 W ActivityManager: Force finishing activity com.nmh.UltimateTowerDefense/com.unity3d.player.UnityPlayerActivity why the error is masked as "***"?
Try resolving this stacktrace 05-28 10:53:22.360 7821 7840 E CRASH : #01 pc 00245a9c /data/app/com.nmh.UltimateTowerDefense-2/lib/arm/libil2cpp.so (BuildId: 7e034123d7ee607a1532e028dfc730a664276be3) *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** is not a masked error, this was probably a splitter printed incorrectly
Check this out - https://docs.unity3d.com/Packages/com.unity.mobile.android-logcat@1.2/manual/StacktraceUtility.html it should help. Simply get the package and follow instructions
thanks! i assume that package will be really helpful for me . i think that in the current case (since i use a dll of GRPC) the "Resolve" isn't informative (need their symbols?) i get something like Code (CSharp): 05-28 10:53:22.360 7821 7840 E CRASH : #01 pc 00245a9c (il2cpp::os::LibraryLoader::LoadDynamicLibraryImpl(il2cpp::utils::StringView<char> const&, int) at E:\Program Files\Unity\2020.3.3f1\Editor\Data\il2cpp\libil2cpp\os\Posix/LibraryLoader.cpp:179) /data/app/com.nmh.UltimateTowerDefense-2/lib/arm/libil2cpp.so (BuildId: 7e034123d7ee607a1532e028dfc730a664276be3)
I think it should still help you, since if it's a managed dll, it's still possible to resolve function names.