- Home /
Crash when reinstalling android app if not deleting IL2CPP folder
Unity 2019.2.2f1 Ads and IAPs installed and working It worked fine before.
Reproduction steps:
Have a version installed in thedevice.
Uninstall that version (keeping files)
Upload a new version to Android console
Download and install the new version
Open the new installed version
Crash / ANR after a white and black flash.
Go to the app data folder and remove all the content of the IL2CPP folder. Game still crashes
Remove the folder itself and it works (although itremoves everything else whenrestarting the game)
Install the APK manually. It works
Debug the app with Android Studio. It works
Check logcat:
2019-10-03 14:01:34.013 10836-10836/? E/APPNAME: Not starting debugger since process cannot load the jdwp agent.
2019-10-03 14:01:34.314 10836-10852/? E/CRASH: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000077d32fbff0
2019-10-03 14:01:34.314 10836-10852/? E/CRASH:
2019-10-03 14:01:34.314 10836-10852/? E/CRASH: Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
2019-10-03 14:01:34.314 10836-10852/? E/CRASH: Build fingerprint: 'xiaomi/lavender/lavender:9/PKQ1.180904.001/V10.3.6.0.PFGMIXM:user/release-keys'
2019-10-03 14:01:34.314 10836-10852/? E/CRASH: Revision: '0'
2019-10-03 14:01:34.314 10836-10852/? E/CRASH: pid: 10836, tid: 10852, name: UnityMain >>> com.COMNAME.APPNAME<<<
2019-10-03 14:01:34.315 10836-10852/? E/CRASH: x0 00000077ede015d0 x1 00000077ede00080 x2 00000077ede015d0 x3 0000000000000012
2019-10-03 14:01:34.315 10836-10852/? E/CRASH: x4 0000000000000001 x5 0000000000000004 x6 0000007873a20000 x7 000000000146f61a
2019-10-03 14:01:34.315 10836-10852/? E/CRASH: x8 000000000000017a x9 0000000000000000 x10 0000000000000001 x11 0000000000000000
2019-10-03 14:01:34.315 10836-10852/? E/CRASH: x12 00000000000001db x13 0000000000000300 x14 000000000000000d x15 aaaaaaaaaaaaaaab
2019-10-03 14:01:34.315 10836-10852/? E/CRASH: x16 000000786e1551c8 x17 000000786e0d73bc x18 0000000000000001 x19 00000077ede015d0
2019-10-03 14:01:34.315 10836-10852/? E/CRASH: x20 0000000000000000 x21 00000077ede00080 x22 00000077edd86d88 x23 0000000000000012
2019-10-03 14:01:34.315 10836-10852/? E/CRASH: x24 00000077ede015d0 x25 0000000000000012 x26 0000000000000012 x27 00000077cf616fc0
2019-10-03 14:01:34.315 10836-10852/? E/CRASH: x28 00000077d0b30000 x29 00000077d32fc070 x30 000000786e0dd7bc
2019-10-03 14:01:34.315 10836-10852/? E/CRASH: sp 00000077d32fc020 pc 000000786e0d73bc pstate 0000000060000000
2019-10-03 14:01:34.315 10836-10852/? E/CRASH: backtrace:
2019-10-03 14:01:34.329 2317-2405/? E/InputDispatcher: channel '871f919 com.COMNAME.APPNAME/com.unity3d.player.UnityPlayerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
Clearing the app data, also fixes the issue but also removes user prefs and other data files that are required.
Please, I am desperate. I cannot progress further.
Answer by juppagames · Sep 08, 2021 at 09:03 AM
Hi did you manage to resolve? I have the same issue..