Unity build crashing after loading screen on several android devices

I’ve built an app in Unity which I need to publish on iOS/Android. I’ve had no problems with iOS, and with the droid devices I initially tested on (S4, S5, HTC something) it ran ok. However, I’ve found that on a large number of devices it’s crashing after the load screen. I initially thought this might be due to loading time, and the OS force-closing it, but this doesn’t seem to be the case. It’s hard to isolate a problem as the errors are different across devices (well, the Doogee Voyager, of those I have to hand to test on), and the Permission Denied (13) message on the A3 I’ve not been able to replicate after the first time:

VOYAGER (Kitkat 4.4.2):

Attempt 1:

10-19 22:37:51.515: E/linker(10016): load_library(linker.cpp:757): library "/data/app/com.myapp-1.apk/assets/bin/Data/Managed/mscorlib.dll.so" not found
10-19 22:37:52.400: E/linker(10016): load_library(linker.cpp:757): library "/data/app/com.myapp-1.apk/assets/bin/Data/Managed/UnityEngine.dll.so" not found
10-19 22:37:52.619: E/linker(10016): load_library(linker.cpp:757): library "/data/app/com.myapp-1.apk/assets/bin/Data/Managed/Assembly-CSharp.dll.so" not found
10-19 22:37:52.630: E/linker(10016): load_library(linker.cpp:757): library "/data/app/com.myapp-1.apk/assets/bin/Data/Managed/UnityEngine.UI.dll.so" not found
10-19 22:37:52.646: E/linker(10016): load_library(linker.cpp:757): library "/data/app/com.myapp-1.apk/assets/bin/Data/Managed/UnityEngine.Networking.dll.so" not found
10-19 22:37:52.651: E/linker(10016): load_library(linker.cpp:757): library "/data/app/com.myapp-1.apk/assets/bin/Data/Managed/HOTween.dll.so" not found
10-19 22:37:52.718: E/linker(10016): load_library(linker.cpp:757): library "/data/app/com.myapp-1.apk/assets/bin/Data/Managed/System.Core.dll.so" not found
10-19 22:37:54.510: E/InputDispatcher(499): channel '42497d60 com.google.android.gm/com.google.android.gm.ConversationListActivityGmail (server)' ~ Channel is unrecoverably broken and will be disposed!
10-19 22:37:56.756: E/linker(10016): load_library(linker.cpp:757): library "/data/app/com.myapp-1.apk/assets/bin/Data/Managed/System.dll.so" not found
10-19 22:38:06.302: E/CRASH(10016): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000

Attempt 2:
    
    10-19 21:50:19.970: A/libc(9073): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 9091 (UnityMain)
    10-19 21:50:20.991: E/InputDispatcher(499): channel '428da848 com.myapp/com.google.unity.GoogleUnityActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    10-19 21:50:22.347: E/dalvikvm(9130): Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
    10-19 21:50:22.733: E/WifiManager(9130): mWifiServiceMessenger == null
    10-19 21:50:23.111: E/(136): AudioCloseDumpPCMFile file== NULL
    10-19 21:50:23.111: E/(136): AudioCloseDumpPCMFile file== NULL
    10-19 21:50:25.666: E/NativeCrypto(9130): ssl=0x51b97850 cert_verify_callback x509_store_ctx=0x53b1fab8 arg=0x0
    10-19 21:50:25.666: E/NativeCrypto(9130): ssl=0x51b97850 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
    
    MOTO G (Kitkat 4.4.2):
    
    10-15 17:56:31.437: A/libc(14656): Fatal signal 6 (SIGABRT) at 0x00003940 (code=-6), thread 14713 (UnityMain)
    10-15 17:56:31.437: A/libc(14656): Fatal signal 6 (SIGABRT) at 0x00003940 (code=-6), thread 14712 (UnityMain)
    10-15 17:56:32.193: E/InputDispatcher(1019): channel '422f2dd0 com.myapp.GoogleUnityActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    10-15 17:56:32.356: E/Sensors(1019): CT406 set ALS poll interval: 1000
    
    GALAXY A3
    
    10-19 22:09:05.986: E/GCMBaseIntentService(26219): Received invalid token: 1100110101011011111010010001100110011000111010001100100010011000
    10-19 22:09:13.146: E/libEGL(26340): error opening cache file /data/data/com.myapp/cache/com.android.opengl.shaders_cache: Permission denied (13)
    10-19 22:09:13.216: E/AudioResampler(247): Unsupported sample format, 1 bits, 2 channels
    10-19 22:09:13.256: E/(247): [NXP] tfaRunIsCold:0x001d
    10-19 22:09:13.336: E/(247): [NXP] tfaRunIsCold:0x001d
    10-19 22:09:19.946: E/Watchdog(775): !@Sync 1099
    10-19 22:09:20.466: A/libc(26340): Fatal signal 6 (SIGABRT) at 0x000066e4 (code=-6), thread 26381 (UnityMain)
    10-19 22:09:21.676: E/android.os.Debug(775): !@Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
    
    ...then...
    
    10-19 22:16:19.656: A/libc(28058): Fatal signal 6 (SIGABRT) at 0x00006d9a (code=-6), thread 28349 (UnityMain)
    10-19 22:16:19.966: E/Watchdog(775): !@Sync 1113
    10-19 22:16:20.816: E/android.os.Debug(775): !@Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error

Fatal signal 11 (SIGSEGV) looks to occur when there’s a problem with memory access in native code, Fatal signal 6 (SIGABRT) looks to be when the UI thread is locked up for too long.

Does anyone know why this is happening, and on only some devices? I have built empty Unity apps successfully to all of them so it’s the application itself, and I’ve a feeling this may have to do with shaders, more likely memory or resource loading. Help much appreciated!

have same problem:

04-20 23:38:46.647: E/linker(17392): load_library(linker.cpp:757): library “/mnt/asec/com.TreamTeam.bubble_rush-1/pkg.apk/assets/bin/Data/Managed/mscorlib.dll.so” not found
04-20 23:38:47.612: E/mono(17392): Unhandled Exception: System.ExecutionEngineException: SIGILL
04-20 23:38:47.777: E/InputDispatcher(487): channel ‘41a3e078 com.TreamTeam.bubble_rush/com.unity3d.player.UnityPlayerActivity (server)’ ~ Channel is unrecoverably broken and will be disposed!

Are you on the 5.4 beta version of unity?

Games that I made using the latest beta version seemed to always crash on loading.
I checked the crash log in one device of mine…I guess from what was written in it that it might be some issue with network connection and then in player settings I changed Internet access to be required which solved the problem of crash.

But in another device it still crashed. However your problem appears to be different though from the crash log. My point is, have you tried to build app from the latest stable version of unity?

The latest beta versions seem to have other problems too in android…like sound in the unity-game just mutes when any other sound from an external app plays in the background.