playMaker

Author Topic: My android game crashes when loads a new scene  (Read 2260 times)

Ssivlius08

  • Playmaker Newbie
  • *
  • Posts: 5
My android game crashes when loads a new scene
« on: November 05, 2018, 04:09:35 PM »
Hi guys.

Im running the latest version of playmaker + unity 2018.2.6f1.
I have this problem and wondered if anybody could take a look and tell me what to go hunting for.
My game works perfect for the Unity editor. In Android Devices always crash when I try to load a scene.
I have 2 scenes, start-scene and main-scene. When I have use playmaker only in main-scene, all works perfectly.
When I have use playmaker in both scene and I press the button how needs to load the main-scene, my game crash.
So it crash only in build and works perfect in the editor.


Please I really need help with this. I've dealing with this problem for 2 weeks. It's driving me crazy.


If I use a C# script and I delete all FSMs from start-scene, everything returns to normal.
Playmaker error check is clear. Unity Console doesn't show anything.
So the problem only occurs when I add any fsm in the start-scene.

Logcat shows me nothing.


11-05 20:38:51.064  6647  6663 I Unity   : SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 4, Memory = 2970mb
11-05 20:38:51.064  6647  6663 I Unity   : SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf), 0 little (mask: 0x0)
11-05 20:38:51.064  6647  6663 I Unity   : ApplicationInfo com.silviu.iacov version 0.1 build 2f2670ec-ec6a-49d2-827d-8c22ec8366cc
11-05 20:38:51.064  6647  6663 I Unity   : Built from '2018.2/release' branch, Version '2018.2.6f1 (c591d9a97a0b)', Build type 'Release', Scripting Backend 'mono'
11-05 20:38:51.202   939  1471 I ActivityManager: Killing 5527:com.socialnmobile.dictapps.notepad.color.note/u0a113 (adj 906): empty #17
11-05 20:38:51.251   939  2054 D ActivityManager: cleanUpApplicationRecord -- 5527
11-05 20:38:51.310   939  1657 I ActivityManager: Killing 5658:com.google.android.gms.ui/u0a19 (adj 906): empty #17
11-05 20:38:51.348   939  3548 D ActivityManager: cleanUpApplicationRecord -- 5658
11-05 20:38:51.395  6647  6663 D Unity   :  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
11-05 20:38:51.395  6647  6663 D Unity   : 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_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16 GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture GL_EXT_buffer_storage GL_EXT_blit_framebuffer_params
11-05 20:38:52.547  6647  6709 W Unity   : The referenced script on this Behaviour (Game Object 'Menu') is missing!
11-05 20:38:52.547  6647  6709 W Unity   :
11-05 20:38:52.547  6647  6709 W Unity   : (Filename:  Line: 1775)
11-05 20:38:52.547  6647  6709 W Unity   :
--------- beginning of crash
11-05 20:39:15.091   939  2054 W ActivityManager:   Force finishing activity com.silviu.iacov/com.unity3d.player.UnityPlayerActivity
11-05 20:39:15.598   939   952 W ActivityManager: Activity pause timeout for ActivityRecord{890f59c u0 com.silviu.iacov/com.unity3d.player.UnityPlayerActivity t3516 f}
11-05 20:39:15.886   939  3548 I ActivityManager: Killing 6016:com.qualcomm.timeservice/1000 (adj 906): empty #17
11-05 20:39:15.937   939  1657 D ActivityManager: cleanUpApplicationRecord -- 6016
11-05 20:39:16.011   939   952 I ActivityManager: Killing 5988:com.google.android.deskclock/u0a92 (adj 906): empty #17
11-05 20:39:16.051   939  1656 D ActivityManager: cleanUpApplicationRecord -- 5988
11-05 20:39:20.270   939   952 I ActivityManager: Crashing app skipping ANR: ProcessRecord{69eb405 6647:com.silviu.iacov/u0a202} Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 1.  Wait queue head age: 5057.5ms.)
11-05 20:39:25.785   939  2054 W ActivityManager:   Force finishing activity com.silviu.iacov/com.unity3d.player.UnityPlayerActivity
11-05 20:39:25.835   939  2054 I ActivityManager: Killing 6647:com.silviu.iacov/u0a202 (adj 900): crash
11-05 20:39:25.836   939  2054 D ActivityManager: cleanUpApplicationRecord -- 6647
11-05 20:39:25.866   939  2058 I ActivityManager: Setting hasTopUi=true for pid=1499

^C

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: My android game crashes when loads a new scene
« Reply #1 on: November 07, 2018, 03:18:23 AM »
Hi,

 what do you have in this fsm?

 can you try with a totally fresh project? add just PlayMaker, add an Fsm and publish a dummy scene, then add more things along the way until it crashes ( or not, sometimes Unity is corrupting projects, it happened to me recently on IOS, I had to move assets manually from the corrupted project to a fresh one)

Bye,

 Jean