Unity + android 4.0.3 black screen issue
Hi all! I'm from Russia, so forgive me my English is bad. I had a problem. At the moment am developing a 2D game on Unity. The game is already ready and it is in playmarket (in alpha testing). When testing revealed that the application while downloading from playmarket and installation on LG optimus l7 (android 4.0.3) hangs with a black screen. This device has other applications with playmarket (with a Unity logo at the beginning) works fine. If I use Build and Run in Unity and connect the phone via USB, the app starts and crashes without reaching even to the unity logo. in the android SDK downloaded all that is possible to download - Unity latest version 5.5.0.f3 JDK, NDK and all is updated. Created a new project with empty scene and a single image in the center is the result of one: working on Sony e4. LG optimus l7 no.
Logcat:
I/ActivityManager( 364): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=net.clevtest.MyUnityActivity/com.unity3d.player.UnityPlayerActivity} from pid 659
I/ActivityManager( 364): Start proc net.clevtest.MyUnityActivity for activity net.clevtest.MyUnityActivity/com.unity3d.player.UnityPlayerActivity: pid=2045 uid=10069 gids={}
I/ActivityManager( 364): Displayed net.clevtest.MyUnityActivity/com.unity3d.player.UnityPlayerActivity: +694ms
E/Unity ( 2045): Unable to find AudioPluginMsHRTF
E/Unity ( 2045): Unable to find AudioPluginOculusSpatializer
D/Unity ( 2045): GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_array_object GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_AMD_compressed_3DC_texture
I/ActivityManager( 364): Process com.android.settings (pid 1907) has died.
I/DEBUG (30511): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG (30511): Build fingerprint: 'lge/u0_open_cis/u0:4.0.3/IML74K/lgp705-V10d.20120908.161035:user/release-keys'
I/DEBUG (30511): pid: 2045, tid: 2058 >>> net.clevtest.MyUnityActivity <<<
I/DEBUG (30511): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG (30511): r0 deadbaad r1 00000001 r2 40000000 r3 00000000
I/DEBUG (30511): r4 00000000 r5 00000027 r6 400af3d6 r7 400bd574
I/DEBUG (30511): r8 007a1e28 r9 005d8a58 10 005ec890 fp 00000000
I/DEBUG (30511): ip 400b883c sp 524efa90 lr 40090661 pc 4008c9f4 cpsr 60000030
I/DEBUG (30511): d0 41203a726f727245 d1 5428206f6e657264
I/DEBUG (30511): d2 322f30303220294d d3 2073656f64203530
I/DEBUG (30511): d4 32202f2029302e31 d5 7420200a3b29302e
I/DEBUG (30511): d6 20325f726176706d d7 6176706d7428203d
I/DEBUG (30511): d8 0000000000000000 d9 0000000000000000
I/DEBUG (30511): d10 0000000000000000 d11 0000000000000000
I/DEBUG (30511): d12 0000000000000000 d13 0000000000000000
I/DEBUG (30511): d14 0000000000000000 d15 0000000000000000
I/DEBUG (30511): d16 6d74202d20385f72 d17 3b29375f72617670
I/DEBUG (30511): d18 756964656d20200a d19 203463657620706d
I/DEBUG (30511): d20 395f726176706d74 d21 76706d7420200a3b
I/DEBUG (30511): d22 20777a2e395f7261 d23 302832636576203d
I/DEBUG (30511): d24 0000000700000007 d25 0000000700000007
I/DEBUG (30511): d26 0000020000000100 d27 3ef99342e0ee5069
I/DEBUG (30511): d28 0000002000000010 d29 0000008000000040
I/DEBUG (30511): d30 0000000200000001 d31 0000000800000004
I/DEBUG (30511): scr 6000001a
I/DEBUG (30511):
I/DEBUG (30511): #00 pc 000179f4 /system/lib/libc.so
I/DEBUG (30511): #01 pc 00013882 /system/lib/libc.so
I/DEBUG (30511): #02 pc 00015bbc /system/lib/libc.so (dlfree)
I/DEBUG (30511): #03 pc 00016234 /system/lib/libc.so (free)
I/DEBUG (30511): #04 pc 000009ac /system/lib/libstdc++.so (_ZdlPvRKSt9nothrow_t)
I/DEBUG (30511): #05 pc 0009e288 /system/lib/libsc-a2xx.so (_ZN8sclState4linkEPK18sclInputShaderPairRK17sclCompilerParams)
I/DEBUG (30511): #06 pc 0009e6ea /system/lib/libsc-a2xx.so (_Z7sclLinkP16sclHandleTypeRecPK18sclInputShaderPairRK17sclCompilerParams)
I/DEBUG (30511): #07 pc 0009d1da /system/lib/libsc-a2xx.so (__link_shaders)
I/DEBUG (30511): #08 pc 0002cbd2 /system/lib/egl/libGLESv2_adreno200.so (qgl2DrvAPI_glLinkProgram)
I/DEBUG (30511): #09 pc 0001c1ce /system/lib/egl/libGLESv2_adreno200.so (glLinkProgram)
I/DEBUG (30511): #10 pc 005147fc /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #11 pc 005138b8 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #12 pc 00513300 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #13 pc 00457628 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #14 pc 00386b64 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #15 pc 00340fb0 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #16 pc 00340718 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #17 pc 003401dc /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #18 pc 0033f9fc /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #19 pc 00342524 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #20 pc 003450d8 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #21 pc 003452f4 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #22 pc 004abee4 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #23 pc 004abd84 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #24 pc 004ae3c8 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #25 pc 004b0e4c /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #26 pc 0010ac04 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #27 pc 002e462c /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #28 pc 00539cb8 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #29 pc 0053b478 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #30 pc 0053dd68 /data/data/net.clevtest.MyUnityActivity/lib/libunity.so
I/DEBUG (30511): #31 pc 0001fab0 /system/lib/libdvm.so (dvmPlatformInvoke)
I/DEBUG (30511):
I/DEBUG (30511): code around pc:
I/DEBUG (30511): 4008c9d4 4623b15c 2c006824 e026d1fb b12368db \.#F$h.,..&..h#.
I/DEBUG (30511): 4008c9e4 21014a17 6011447a 48124798 24002527 .J.!zD.`.G.H'%.$
I/DEBUG (30511): 4008c9f4 f7f47005 2106eec6 ef54f7f5 460aa901 .p.....!..T....F
I/DEBUG (30511): 4008ca04 f04f2006 94015380 94029303 eb1ef7f5 . O..S..........
I/DEBUG (30511): 4008ca14 4622a905 f7f52002 f7f4eb28 2106eeb2 .."F. ..(......!
I/DEBUG (30511):
I/DEBUG (30511): code around lr:
I/DEBUG (30511): 40090640 41f0e92d 46804c0c 447c2600 68a56824 -..A.L.F.&|D$h.h
I/DEBUG (30511): 40090650 e0076867 300cf9b5 dd022b00 47c04628 gh.....0.+..(F.G
I/DEBUG (30511): 40090660 35544306 37fff117 6824d5f4 d1ee2c00 .CT5...7..$h.,..
I/DEBUG (30511): 40090670 e8bd4630 bf0081f0 00027ede 41f0e92d 0F.......~..-..A
I/DEBUG (30511): 40090680 fb01b086 9004f602 461f4815 4615460c .........H.F.F.F
I/DEBUG (30511):
I/DEBUG (30511): memory map around addr deadbaad:
I/DEBUG (30511): bea30000-bea51000 [stack]
I/DEBUG (30511): (no map for address)
I/DEBUG (30511): ffff0000-ffff1000 [vectors]
I/DEBUG (30511):
I/DEBUG (30511): stack:
I/DEBUG (30511): 524efa50 00000001
I/DEBUG (30511): 524efa54 524efa90
I/DEBUG (30511): 524efa58 400b8840 /system/lib/libc.so
I/DEBUG (30511): 524efa5c 0000000c
I/DEBUG (30511): 524efa60 400b87d4 /system/lib/libc.so
I/DEBUG (30511): 524efa64 400bda58
I/DEBUG (30511): 524efa68 00000000
I/DEBUG (30511): 524efa6c 40090661 /system/lib/libc.so
I/DEBUG (30511): 524efa70 00000000
I/DEBUG (30511): 524efa74 524efaa4
I/DEBUG (30511): 524efa78 400af3d6 /system/lib/libc.so
I/DEBUG (30511): 524efa7c 400bd574
I/DEBUG (30511): 524efa80 007a1e28 [heap]
I/DEBUG (30511): 524efa84 4008f7cd /system/lib/libc.so
I/DEBUG (30511): 524efa88 df0027ad
I/DEBUG (30511): 524efa8c 00000000
I/DEBUG (30511): #00 524efa90 524efa8c
I/DEBUG (30511): 524efa94 00000001
I/DEBUG (30511): 524efa98 400af3ba /system/lib/libc.so
I/DEBUG (30511): 524efa9c 00000005
I/DEBUG (30511): 524efaa0 524efabc
I/DEBUG (30511): 524efaa4 fffffbdf
I/DEBUG (30511): 524efaa8 524efabc
I/DEBUG (30511): 524efaac 524efabc
I/DEBUG (30511): 524efab0 400b2974 /system/lib/libc.so
I/DEBUG (30511): 524efab4 40088887 /system/lib/libc.so
I/DEBUG (30511): #01 524efab8 524efaa4
I/DEBUG (30511): 524efabc 20404040
I/DEBUG (30511): 524efac0 524f4241 /dev/pmem
I/DEBUG (30511): 524efac4 474e4954 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG (30511): 524efac8 4e49203a /system/usr/icu/icudt46l.dat
I/DEBUG (30511): 524efacc 494c4156 /dev/ashmem/dalvik-mark-stack (deleted)
I/DEBUG (30511): 524efad0 45482044 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG (30511): 524efad4 41205041 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG (30511): 524efad8 45524444 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG (30511): 524efadc 49205353 /dev/ashmem/dalvik-bitmap-2 (deleted)
I/DEBUG (30511): 524efae0 6c64204e
I/DEBUG (30511): 524efae4 65657266
I/DEBUG (30511): 524efae8 001b3b00 [heap]
I/DEBUG (30511): 524efaec 405de888 /system/lib/libstlport.so
I/DEBUG (30511): 524efaf0 005e4ec0 [heap]
I/DEBUG (30511): 524efaf4 400bd5b0
I/DEBUG (30511): 524efaf8 00000018
I/DEBUG (30511): 524efafc 400bd574
I/DEBUG (30511): 524efb00 005e4ec8 [heap]
I/DEBUG (30511): 524efb04 005d8a58 [heap]
I/DEBUG (30511): 524efb08 005ec890 [heap]
I/DEBUG (30511): 524efb0c 4008abd5 /system/lib/libc.so
I/DEBUG (30511): 524efb10 005ed268 [heap]
I/DEBUG (30511): 524efb14 005ed280 [heap]
I/DEBUG (30511): 524efb18 005ed250 [heap]
I/DEBUG (30511): 524efb1c 005ed280 [heap]
I/DEBUG (30511): 524efb20 00000000
I/DEBUG (30511): 524efb24 005d8a58 [heap]
I/DEBUG (30511): 524efb28 007a1e28 [heap]
I/DEBUG (30511): 524efb2c 00000000
I/DEBUG (30511): 524efb30 524efbac
I/DEBUG (30511): 524efb34 005ed280 [heap]
I/DEBUG (30511): 524efb38 00000000
I/DEBUG (30511): 524efb3c 005d8a58 [heap]
I/DEBUG (30511): 524efb40 007a1e28 [heap]
I/DEBUG (30511): 524efb44 534ad52f /system/lib/libsc-a2xx.so
I/DEBUG (30511): 524efb48 00000000
I/DEBUG (30511): 524efb4c 534a1b31 /system/lib/libsc-a2xx.so
I/DEBUG (30511): 524efb50 524efca8
I/DEBUG (30511): 524efb54 00000003
I/DEBUG (30511): 524efb58 007ae3a8 [heap]
I/DEBUG (30511): 524efb5c 00000000
I/DEBUG (30511): 524efb60 535a1004
I/DEBUG (30511): 524efb64 524efb88
I/DEBUG (30511): 524efb68 405de27c /system/lib/libstlport.so
I/DEBUG (30511): 524efb6c 005ed498 [heap]
I/DEBUG (30511): 524efb70 524efbac
I/DEBUG (30511): 524efb74 00000000
I/DEBUG (30511): 524efb78 00000000
I/DEBUG (30511): 524efb7c 005d8a58 [heap]
I/DEBUG (30511): 524efb80 0000bbe8 [heap]
I/DEBUG (30511): 524efb84 405de888 /system/lib/libstlport.so
I/DEBUG (30511): 524efb88 405de898 /system/lib/libstlport.so
I/DEBUG (30511): 524efb8c 00000000
I/DEBUG (30511): 524efb90 00000000
I/DEBUG (30511): 524efb94 005d8a58 [heap]
I/DEBUG (30511): 524efb98 007a1e20 [heap]
I/DEBUG (30511): 524efb9c 005d7c00 [heap]
I/DEBUG (30511): 524efba0 00000108
I/DEBUG (30511): 524efba4 00000001
I/DEBUG (30511): 524efba8 007a1e28 [heap]
I/DEBUG (30511): 524efbac 005d8a58 [heap]
I/DEBUG (30511): 524efbb0 007a2d58 [heap]
I/DEBUG (30511): 524efbb4 007a1e28 [heap]
I/DEBUG (30511): 524efbb8 00000002
I/DEBUG (30511): 524efbbc 1ab6d9ca
I/DEBUG (30511): 524efbc0 007a1e20 [heap]
I/DEBUG (30511): 524efbc4 007a1e28 [heap]
I/DEBUG (30511): 524efbc8 00000002
I/DEBUG (30511): 524efbcc 4008abc1 /system/lib/libc.so
I/ActivityManager( 364): Process net.clevtest.MyUnityActivity (pid 2045) has died.
W/ActivityManager( 364): Force removing ActivityRecord{42320500 net.clevtest.MyUnityActivity/com.unity3d.player.UnityPlayerActivity}: app died, no saved state
I don't like about this place: E/Unity ( 2045): Unable to find AudioPluginMsHRTF E/Unity ( 2045): Unable to find AudioPluginOculusSpatializer when i run other unity apps from playmarket it is not.
thanks for the replies!
Answer by tareque · Dec 05, 2016 at 02:10 AM
Go to File - Build After switching to Android, open player settings. Other Settings - set Minimum API level to Android 4.0
Thanks for the answer. But the problem was solved by updating the device and JD$$anonymous$$.
@RinatYunusov, I'm using Unity 5.5.0f3, building with jdk1.8.0_112 and my Galaxy S6 runs Android 6.0.1 but I still get the "Unable to find AudioPluginOculusSpatializer". Could you give more details about how you fixed that issue?