[Résolu] Jeu crash dès la première scène

Toutes les questions sur le développement Mobile, y compris la partie script.
kosted
Messages : 258
Inscription : 20 Avr 2015 18:21

[Résolu] Jeu crash dès la première scène

Message par kosted » 25 Avr 2017 15:46

Bonjour à tous, j'ai récemment mis à jour ma version de unity et je suis passé à la version 5.6. Par contre je n'arrive plus à faire fonctionner mon jeu sous android. A chaque fois que je le déploie sur mon téléphone, il se ferme automatiquement. Aujourd'hui, j'ai réussi à afficher les logs, mais ça ne me parle pas du tout, vu que je m'y connais pas en android natif. Quelqu'un en regardant le contenu de ce fichier aurait une idée de où cela pourrait venir ?

Merci d'avance

Code : Tout sélectionner

04-25 15:29:58.352  1534  1534 W Binder_9: type=1400 audit(0.0:25649): avc: denied { ioctl } for path="socket:[977870]" dev="sockfs" ino=977870 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

04-25 15:29:58.456 26772 26772 W Unity   : Failed to get permission info for com.sec.android.provider.badge.permission.READ, manifest likely missing custom permission declaration

04-25 15:29:58.456 26772 26772 W Unity   : Permission com.sec.android.provider.badge.permission.READ ignored

04-25 15:29:58.457 26772 26772 W Unity   : Failed to get permission info for com.sec.android.provider.badge.permission.WRITE, manifest likely missing custom permission declaration

04-25 15:29:58.457 26772 26772 W Unity   : Permission com.sec.android.provider.badge.permission.WRITE ignored

04-25 15:29:58.457 26772 26772 W Unity   : Failed to get permission info for com.htc.launcher.permission.READ_SETTINGS, manifest likely missing custom permission declaration

04-25 15:29:58.457 26772 26772 W Unity   : Permission com.htc.launcher.permission.READ_SETTINGS ignored

04-25 15:29:58.458 26772 26772 W Unity   : Failed to get permission info for com.htc.launcher.permission.UPDATE_SHORTCUT, manifest likely missing custom permission declaration

04-25 15:29:58.458 26772 26772 W Unity   : Permission com.htc.launcher.permission.UPDATE_SHORTCUT ignored

04-25 15:29:58.458 26772 26772 W Unity   : Failed to get permission info for com.sonyericsson.home.permission.BROADCAST_BADGE, manifest likely missing custom permission declaration

04-25 15:29:58.458 26772 26772 W Unity   : Permission com.sonyericsson.home.permission.BROADCAST_BADGE ignored

04-25 15:29:58.458 26772 26772 W Unity   : Failed to get permission info for com.sonymobile.home.permission.PROVIDER_INSERT_BADGE, manifest likely missing custom permission declaration

04-25 15:29:58.458 26772 26772 W Unity   : Permission com.sonymobile.home.permission.PROVIDER_INSERT_BADGE ignored

04-25 15:29:58.459 26772 26772 W Unity   : Failed to get permission info for com.anddoes.launcher.permission.UPDATE_COUNT, manifest likely missing custom permission declaration

04-25 15:29:58.459 26772 26772 W Unity   : Permission com.anddoes.launcher.permission.UPDATE_COUNT ignored

04-25 15:29:58.459 26772 26772 W Unity   : Failed to get permission info for com.majeur.launcher.permission.UPDATE_BADGE, manifest likely missing custom permission declaration

04-25 15:29:58.459 26772 26772 W Unity   : Permission com.majeur.launcher.permission.UPDATE_BADGE ignored

04-25 15:29:58.459 26772 26772 W Unity   : Failed to get permission info for com.huawei.android.launcher.permission.CHANGE_BADGE, manifest likely missing custom permission declaration

04-25 15:29:58.459 26772 26772 W Unity   : Permission com.huawei.android.launcher.permission.CHANGE_BADGE ignored

04-25 15:29:58.459 26772 26772 W Unity   : Failed to get permission info for com.huawei.android.launcher.permission.READ_SETTINGS, manifest likely missing custom permission declaration

04-25 15:29:58.460 26772 26772 W Unity   : Permission com.huawei.android.launcher.permission.READ_SETTINGS ignored

04-25 15:29:58.460 26772 26772 W Unity   : Failed to get permission info for com.huawei.android.launcher.permission.WRITE_SETTINGS, manifest likely missing custom permission declaration

04-25 15:29:58.460 26772 26772 W Unity   : Permission com.huawei.android.launcher.permission.WRITE_SETTINGS ignored

04-25 15:29:58.460 26772 26772 W Unity   : Failed to get permission info for android.permission.READ_APP_BADGE, manifest likely missing custom permission declaration

04-25 15:29:58.460 26772 26772 W Unity   : Permission android.permission.READ_APP_BADGE ignored

04-25 15:29:58.460 26772 26772 W Unity   : Failed to get permission info for com.oppo.launcher.permission.READ_SETTINGS, manifest likely missing custom permission declaration

04-25 15:29:58.460 26772 26772 W Unity   : Permission com.oppo.launcher.permission.READ_SETTINGS ignored

04-25 15:29:58.461 26772 26772 W Unity   : Failed to get permission info for com.oppo.launcher.permission.WRITE_SETTINGS, manifest likely missing custom permission declaration

04-25 15:29:58.461 26772 26772 W Unity   : Permission com.oppo.launcher.permission.WRITE_SETTINGS ignored

04-25 15:29:58.832   303   303 W Binder_1: type=1400 audit(0.0:25650): avc: denied { ioctl } for path="socket:[977875]" dev="sockfs" ino=977875 ioctlcmd=7704 scontext=u:r:surfaceflinger:s0 tcontext=u:r:surfaceflinger:s0 tclass=unix_stream_socket permissive=0

04-25 15:29:58.832   303   303 W Binder_1: type=1400 audit(0.0:25651): avc: denied { ioctl } for path="socket:[977875]" dev="sockfs" ino=977875 ioctlcmd=7704 scontext=u:r:surfaceflinger:s0 tcontext=u:r:surfaceflinger:s0 tclass=unix_stream_socket permissive=0

04-25 15:29:58.832   965   965 W Binder_4: type=1400 audit(0.0:25652): avc: denied { ioctl } for path="socket:[976439]" dev="sockfs" ino=976439 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

04-25 15:29:58.832   965   965 W Binder_4: type=1400 audit(0.0:25653): avc: denied { ioctl } for path="socket:[976439]" dev="sockfs" ino=976439 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

04-25 15:29:58.934   777   799 I ActivityManager: Displayed com.masseka.game.studio/com.unity3d.player.UnityPlayerActivity: +1s65ms

04-25 15:29:58.932  1415  1415 W Binder_7: type=1400 audit(0.0:25654): avc: denied { ioctl } for path="socket:[976444]" dev="sockfs" ino=976444 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

04-25 15:29:58.932  1415  1415 W Binder_7: type=1400 audit(0.0:25655): avc: denied { ioctl } for path="socket:[976444]" dev="sockfs" ino=976444 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

04-25 15:29:58.932  2610  2610 W Binder_C: type=1400 audit(0.0:25656): avc: denied { ioctl } for path="socket:[976443]" dev="sockfs" ino=976443 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

04-25 15:29:58.932  2610  2610 W Binder_C: type=1400 audit(0.0:25657): avc: denied { ioctl } for path="socket:[976443]" dev="sockfs" ino=976443 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

04-25 15:29:58.976 16894 26185 I PBSessionCacheImpl: Deleted sessionId[6070797161090969] from persistence.

04-25 15:29:59.149 11127 11127 I Choreographer: Skipped 68 frames!  The application may be doing too much work on its main thread.

04-25 15:29:59.347   777   799 I WindowManager: Screen frozen for +1s412ms due to Window{cddb2b3 u0 com.facebook.orca}

04-25 15:29:59.400 26772 26810 E Unity   : Unable to find AudioPluginMsHRTF

04-25 15:29:59.402 26772 26810 E Unity   : Unable to find AudioPluginOculusSpatializer

04-25 15:29:59.403 26772 26810 E Unity   : Unable to find libAudioPluginOculusSpatializer

04-25 15:29:59.412 26772 26810 I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb

04-25 15:29:59.426 26772 26810 W Adreno-EGL: <qeglDrvAPI_eglCreateContext:2469>: EGL_BAD_MATCH

04-25 15:29:59.427 26772 26810 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE

04-25 15:29:59.427 26772 26810 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE

04-25 15:29:59.472 26772 26810 D Unity   :  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_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT

04-25 15:29:59.472 26772 26810 D Unity   : _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

04-25 15:29:59.630   199   810 D audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2

04-25 15:29:59.631 26772 26810 W libc    : pthread_create sched_setscheduler call failed: Operation not permitted

04-25 15:29:59.633 26772 26810 W libc    : pthread_create sched_setscheduler call failed: Operation not permitted

04-25 15:29:59.666   199   810 D AudioFlinger: mixer(0xb4140000) throttle end: throttle time(5)

04-25 15:30:00.019 26772 26810 W Unity   : OnLevelWasLoaded was found on Fading

04-25 15:30:00.019 26772 26810 W Unity   : This message has been deprecated and will be removed in a later version of Unity.

04-25 15:30:00.019 26772 26810 W Unity   : Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed

04-25 15:30:00.019 26772 26810 W Unity   :  

04-25 15:30:00.019 26772 26810 W Unity   : (Filename:  Line: 376)

04-25 15:30:00.019 26772 26810 W Unity   : 

04-25 15:30:00.312   945   945 W Binder_3: type=1400 audit(0.0:25658): avc: denied { ioctl } for path="socket:[976450]" dev="sockfs" ino=976450 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

04-25 15:30:00.312   945   945 W Binder_3: type=1400 audit(0.0:25659): avc: denied { ioctl } for path="socket:[976450]" dev="sockfs" ino=976450 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

04-25 15:30:01.355   777   799 I art     : Starting a blocking GC Explicit

04-25 15:30:01.512   777   799 I art     : Explicit concurrent mark sweep GC freed 12372(741KB) AllocSpace objects, 1(20KB) LOS objects, 28% free, 39MB/55MB, paused 873us total 156.628ms

04-25 15:30:02.064   777   793 I ActivityManager: Waited long enough for: ServiceRecord{7cf09df u0 com.whatsapp/.messaging.MessageService}


LE RESTE DU FICHIER EST ICI https://drive.google.com/open?id=0B9x5u ... ndLYnUta1E
Dernière édition par kosted le 25 Avr 2017 22:52, édité 1 fois.

SirAlex
Messages : 168
Inscription : 17 Jan 2012 14:57
Localisation : Normandie - FRANCE

Re: Jeu crash dès la première scène

Message par SirAlex » 25 Avr 2017 22:27

A priori , c'est un problème de permissions. Il doit manquer une/des permission(s) dans le manifest.
Jette un oeil dans les players settings et tu vérifies les paramètres :

https://docs.unity3d.com/Manual/class-P ... droid.html

kosted
Messages : 258
Inscription : 20 Avr 2015 18:21

Re: Jeu crash dès la première scène

Message par kosted » 25 Avr 2017 22:52

J'ai fini par trouver. La nouvelle version de unity n'est pas compatible avec les anciennes versions de la Google play Game. J'ai bien galéré avant de trouver.

Répondre

Revenir vers « Développement plateformes mobile Iphone et Android »