Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Third Party [Photon Realtime]il2cpp crash on start up app iOS

Discussion in 'Multiplayer' started by Motion_Tale, Jan 13, 2016.

  1. Motion_Tale

    Motion_Tale

    Joined:
    Jan 13, 2016
    Posts:
    6
    Hi,

    Sorry for my poor english
    I got problem when i build to IOS device.
    I Use Pun+ version 1.65.1 | Unity Version 5.3.1f1Personal | Xcode Version 7.2 (7C68)
    Player setting in Unity I set Strip Bytecode and use DotNet2.0Subset but can't build
    In Other Project I can build success not crash.
    Hope you can help me.Thank you

    inside the thread 1 0::SetPlayerRunInBackground() I get a bad access, code 1. Screen Shot 2559-01-12 at 5.23.34 PM.png

    Here is the trace I get in Xcode where the crash happens:

    2016-01-12 18:16:02.295 Punplus[504:241791] -> registered mono modules 0xc9a500
    2016-01-12 18:16:02.940 Punplus[504:241791] You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
    -> applicationDidFinishLaunching()
    -> applicationDidBecomeActive()
    Renderer: PowerVR SGX 543
    Vendor: Imagination Technologies
    Version: OpenGL ES 2.0 IMGSGX543-124.1
    GLES: 2
    GL_OES_depth_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_draw_instanced GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sRGB GL_EXT_texture_filter_anisotropic GL_EXT_texture_rg GL_EXT_texture_storage GL_APPLE_clip_distance GL_APPLE_color_buffer_packed_float GL_APPLE_copy_texture_levels GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_APPLE_texture_packed_float GL_IMG_read_format GL_IMG_texture_comp

    ression_pvrtc
    OPENGL LOG: Creating OpenGL ES 2.0 graphics device
    Initialize engine version: 5.3.1f1 (cc9cbbcc37b4)
    UnloadTime: 12.065708 ms
    Punplus was compiled with optimization - stepping may behave oddly; variables may not be available.
    (lldb)
     
  2. Motion_Tale

    Motion_Tale

    Joined:
    Jan 13, 2016
    Posts:
    6
    Solved:
    Uninstalled Unity Version 5.3.1f.1 | Install Version 5.3.1p2
     
    Thelo and tobiass like this.
  3. Thelo

    Thelo

    Joined:
    Sep 13, 2009
    Posts:
    98
    Thanks, I had the same problem on 5.3.1f1, and using 5.3.1p3 instead solved it!
     
    tobiass likes this.