iOS Crashing with PUN 1.65 and Unity 5.3.1p1

Options
Hi,
Upon deploying to xcode, disabling bitcode, and executing on device, I'm seeing an immediate crash which seems to be coming from the PhotonNetwork constructor. Thoughts?







Comments

  • xenonii
    Options
    I've enabled bitcode (but still have the same crash)
  • xenonii
    xenonii
    edited January 2016
    Options
    It works when using Mono (with bitcode disabled) instead of IL2CPP, so it seems like I've encountered some IL2CPP bug?
  • xenonii
    Options
    @Tobias Have you encountered this?
  • vadim
    Options
    Hi,

    This is a new bug in recent unity.
    http://forum.unity3d.com/threads/unity-5-3-1-crash-on-ios-null-at-ivrdevice-cpp-9.375324/

    Their patch release might help (soon at least).
    Or you can disable RunInBackground in PUN (it's in the source and can be found easily).
  • xenonii
    Options
    @vadim Thanks, setting Application.runInBackground to false in PhotonNetwork.cs worked.
  • Damu
    Options
    HI @vadim @xenonii

    I am using photon voip plugin in my projetc , once i open the app in ios device app is getting crashed , it is working fine in android and unity editor , But in ios device it was crashing.Currently testing the app after removing all other dependencies , Exceptn voip no other things involved in project and app is still getting crashed in ios device .It would be great if u guys help me in fixing this issue, Thanks in advance :)