- Home /
Android app shows splash screen then crashes!
Hey guys. I've recently installed Unity on a new PC and imported all my projects to it. One launched without trouble, but the game I'm currently working on seems to have lost something during the import. I had to re enter a bunch of editor settings including tags and asset compression options. More importantly, the game crashes on my phone after a build.
It will build without error, launch on the phone, display the Unity splash screen, then crash. I've copied what I think is all the relevant log information:
I/ActivityManager( 1118): Force stopping com.marianasgames.karatesam appid=10312 user=-1: update pkg
I/ActivityManager( 1118): Force stopping com.marianasgames.karatesam appid=10312 user=0: pkg removed
W/ActivityManager( 1118): Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=8253, uid=10227 that is not exported from uid 10136
W/ActivityManager( 1118): Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=8253, uid=10227 that is not exported from uid 10136
I/ActivityManager( 1118): Start proc 8536:com.amazon.mShop.android/u0a74 for broadcast com.amazon.mShop.android/com.amazon.mas.client.locker.LockerBroadcastReceiver
W/ActivityManager( 1118): Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRouteProviderService} from pid=8253, uid=10227 that is not exported from uid 10136
D/PackageManager( 1118): post-install pkg:com.marianasgames.karatesam ret:1
W/PackageManager( 1118): Unable to load service info ResolveInfo{1b1ce637 com.htc.sense.socialnetwork.instagram/.remote.InstagramSyncContactService m=0x108000}
W/PackageManager( 1118): org.xmlpull.v1.XmlPullParserException: No android.content.SyncAdapter meta-data
W/PackageManager( 1118): at android.content.pm.RegisteredServicesCache.parseServiceInfo(RegisteredServicesCache.java:509)
W/PackageManager( 1118): at android.content.pm.RegisteredServicesCache.generateServicesMap(RegisteredServicesCache.java:345)
W/PackageManager( 1118): at android.content.pm.RegisteredServicesCache.handlePackageEvent(RegisteredServicesCache.java:171)
W/PackageManager( 1118): at android.content.pm.RegisteredServicesCache.access$100(RegisteredServicesCache.java:71)
W/PackageManager( 1118): at android.content.pm.RegisteredServicesCache$1.onReceive(RegisteredServicesCache.java:180)
W/PackageManager( 1118): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:927)
W/PackageManager( 1118): at android.os.Handler.handleCallback(Handler.java:739)
W/PackageManager( 1118): at android.os.Handler.dispatchMessage(Handler.java:95)
W/PackageManager( 1118): at android.os.Looper.loop(Looper.java:155)
W/PackageManager( 1118): at com.android.server.SystemServer.run(SystemServer.java:331)
W/PackageManager( 1118): at com.android.server.SystemServer.main(SystemServer.java:232)
W/PackageManager( 1118): at java.lang.reflect.Method.invoke(Native Method)
W/PackageManager( 1118): at java.lang.reflect.Method.invoke(Method.java:372)
W/PackageManager( 1118): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1030)
W/PackageManager( 1118): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:825)
I/ActivityManager( 1118): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.marianasgames.karatesam/com.unity3d.player.UnityPlayerActivity} from uid 2000 pid 8584 on display 0
I/ActivityManager( 1118): Start proc 8603:com.marianasgames.karatesam/u0a312 for activity com.marianasgames.karatesam/com.unity3d.player.UnityPlayerActivity
I/ActivityManager( 1118): Start proc 8626:com.htc.updater/u0a69 for service com.htc.updater/.service.UpdaterResumeService
I/ActivityManager( 1118): Config changes=480 {0 1.0 311mcc480mnc en_US ?layoutDir sw360dp w598dp h335dp 480dpi nrml land finger -keyb/v/h -nav/h s.26}
V/ActivityManager( 1118): Display changed displayId=0
I/ActivityManager( 1118): Displayed com.marianasgames.karatesam/com.unity3d.player.UnityPlayerActivity: +593ms
D/Unity ( 8603): GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_array GL_EXT_d
D/Unity ( 8603): raw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer
W/PackageManager( 7616): Failure retrieving resources for com.marianasgames.karatesam: Resource ID #0x0
I/ActivityManager( 1118): Cannot resolve ContentProvider=com.amazon.dcp.settings
I/ActivityManager( 1118): Start proc 8714:com.amazon.kindle/u0a133 for content provider com.amazon.kindle/.map.StandaloneMAPInformationProvider
W/ActivityManager( 1118): getRunningAppProcesses: caller 10133 does not hold REAL_GET_TASKS; limiting output
I/ActivityManager( 1118): Recipient 8603
I/ActivityManager( 1118): Process com.marianasgames.karatesam (pid 8603) has died
W/ActivityManager( 1118): Force removing ActivityRecord{15f7d13d u0 com.marianasgames.karatesam/com.unity3d.player.UnityPlayerActivity t29334}: app died, no saved state
A lot of this I have trouble garnering meaning from, but this line in particular doesn't appear to be good news.
W/PackageManager( 7616): Failure retrieving resources for com.marianasgames.karatesam: Resource ID #0x0
Has anyone experienced this kind of thing before and/or is there anything more that I can do to try to hunt down the cause of the problem? Thanks!
Edit: After some playing around, I've found that I can get the application to launch without crashing if I disable certain elements. One I've noticed is that I can have a Canvas element disabled, but any child UI element being enabled will crash Unity instantly. Very confused.