Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

[2017.2.0f3] Android build crashing multiple times on launch

Discussion in 'Editor & General Support' started by bbQsauce_, Jul 19, 2018.

  1. bbQsauce_

    bbQsauce_

    Joined:
    Sep 3, 2014
    Posts:
    2
    Hello, i've recently tried to build the APK for my game, but the app crashes when i try to launch it, i get a black screen and then it shuts down, doesn't even show the splash screen.

    If i try to open it multiple times it finally starts and works fine, but usually it crashes 4 times out of 5 attempts.

    I tried to look online for solutions but nothing seems working, i tried to change the graphics API to OpenGLES2 in the Player Settings, it felt like it worked at first, but then kept crashing anyways.

    I'm not very experienced in android development. How do i debug what's going on my phone? There's some tool or an enviroinment that lets me see what's causing the crash?

    Thanks in advance.
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
  3. bbQsauce_

    bbQsauce_

    Joined:
    Sep 3, 2014
    Posts:
    2
    Hey, thanks for the reply, here's the log file content:

    Code (CSharp):
    1. I/ActivityManager(  856): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.bbQGames.SkateInSpace/com.unity3d.player.UnityPlayerActivity bnds=[6,582][123,715]} from pid 1368
    2.  
    3. I/ActivityManager(  856): Start proc com.bbQGames.SkateInSpace for activity com.bbQGames.SkateInSpace/com.unity3d.player.UnityPlayerActivity: pid=25317 uid=10103 gids={50103, 3003}
    4.  
    5. I/ActivityManager(  856): Displayed com.bbQGames.SkateInSpace/com.unity3d.player.UnityPlayerActivity: +1s855ms
    6.  
    7. I/Timeline(  856): Timeline: Activity_windows_visible id: ActivityRecord{42a56708 u0 com.bbQGames.SkateInSpace/com.unity3d.player.UnityPlayerActivity t40} time:8094392
    8.  
    9. I/Unity   (25317): SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 4, Memory = 910mb
    10.  
    11. I/Unity   (25317): SystemInfo ARM big.LITTLE configuration: 4 big (mask: 15), 0 little (mask: 0)
    12.  
    13. I/Unity   (25317): ApplicationInfo com.bbQGames.SkateInSpace version 1.0 build d5b869ba-61a5-495c-b329-7f98d33beb4c
    14.  
    15. E/Unity   (25317): Unable to find AudioPluginMsHRTF
    16.  
    17. E/Unity   (25317): Unable to find AudioPluginOculusSpatializer
    18.  
    19. E/Unity   (25317): Unable to find unitygar
    20.  
    21. E/Unity   (25317): Unable to find libAudioPluginOculusSpatializer
    22.  
    23. E/Unity   (25317): Unable to find libtango_3d_reconstruction_api
    24.  
    25. D/Unity   (25317): GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_robustness 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_sync 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_depth_texture_cube_map 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_KHR_texture_compression_astc_ldr GL_EXT_sR
    26.  
    27. D/Unity   (25317): GB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_filter_anisotropic GL_EXT_multisampled_render_to_texture GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_disjoint_timer_query
    28.  
    29. F/libc    (25317): Fatal signal 11 (SIGSEGV) at 0x63835000 (code=2), thread 25344 (UnityGfxDeviceW)
    30.  
    31. I/DEBUG   (  246): pid: 25317, tid: 25344, name: UnityGfxDeviceW  >>> com.bbQGames.SkateInSpace <<<
    32.  
    33. I/DEBUG   (  246):     #03  pc 00564100  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    34.  
    35. I/DEBUG   (  246):     #04  pc 0053c704  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    36.  
    37. I/DEBUG   (  246):     #05  pc 0053c614  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    38.  
    39. I/DEBUG   (  246):     #06  pc 0054bb5c  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    40.  
    41. I/DEBUG   (  246):     #07  pc 0054d0b4  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    42.  
    43. I/DEBUG   (  246):     #08  pc 002aaaac  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    44.  
    45. I/DEBUG   (  246):     #09  pc 002a9c44  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    46.  
    47. I/DEBUG   (  246):     #10  pc 0047533c  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    48.  
    49. I/DEBUG   (  246):     #11  pc 005327f0  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    50.  
    51. I/DEBUG   (  246):     #12  pc 00536a74  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    52.  
    53. I/DEBUG   (  246):     #13  pc 0052ef1c  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    54.  
    55. I/DEBUG   (  246):     #14  pc 003e842c  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    56.  
    57. I/DEBUG   (  246):          6393253c  602bc104  /mnt/asec/com.bbQGames.SkateInSpace-2/lib/libunity.so
    58.  
    59. W/ActivityManager(  856):   Force finishing activity com.bbQGames.SkateInSpace/com.unity3d.player.UnityPlayerActivity
    60.  
    61. I/WindowState(  856): WIN DEATH: Window{43c26400 u0 com.bbQGames.SkateInSpace/com.unity3d.player.UnityPlayerActivity}
    62.  
    63. E/WindowManager(  856): win resize failed, window: Window{43c26400 u0 com.bbQGames.SkateInSpace/com.unity3d.player.UnityPlayerActivity EXITING}
    64.  
    65.