Error when attempting to join random room on UWP Export

Options
Hello,
When I attempt to join a random room on my UWP exported game, I get the following error: https://gyazo.com/0ae678eac7aa215d7525261bd9550c78
The game continues to attempt to connect after this error is displayed.
The game works perfectly in the editor, and on other platforms (I've tested iOS, PC, Mac) I am using IL2CCP scripting backend if that has anything to do with it. Any help in fixing this would be greatly appreciated!

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @JuiceBox,

    Thank you for choosing Photon!

    This might be caused by code stripping, which is always active in IL2CPP.
    A proper fix could take some time as we need to investigate and test.
    Meanwhile, you could try a workaround by setting a specific/fixed region from the PhotonServerSettings.

    What Unity version are you using?
  • JuiceBox
    Options
    Thanks for your response @JohnTube ,
    I'm using Unity 2018.1.3f1
    I set a fixed region in my server settings, and still get the issue. Any other workarounds I could try? Thanks for your assistance.
  • Tobias
    Tobias admin
    edited September 2018
    Options
    Which version of PUN are you using?
    Edit: I can't reproduce this in 2018.1f2 with IL2CPP, .Net 4.x Runtime and PUN v1.91 (current package from the Asset Store).

    If your PUN is not up to date: Please get the new one.