Can't connect to PUN (older) rooms using the new PUN Classic package

Hello!

My project was using the Unity 5.4 and old PUN package ( the version that was before it has been separated to PUN Classic and PUN2). It's working fine for more than 3 years now and has a decent number of concurrent users.

Because of some Google Play and Unity API deprecations I had to update project to a newer Unity ( 2019.4 ). There're some errors with old PUN so I downloaded PUN Classic package from the Asset Store.

Everything seems to work fine except for minor issues. The major issue though is that I can't connect to old rooms with new package. Client with PUN Classic sees the rooms of the client with same PUN Classic, but not the rooms of older PUN and vice versa.

App ID is the same, region is the same, version for ConnectUsingSettings() is the same.

Is there any workaround or am I doing something wrong?

Thank you!

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @AndreyK,

    Thank you for choosing Photon!

    This is by design, only clients with the same PUN version can communicate.
    Read this.
    The solution is to use the same PUN version.
    A workaround is to use the same
    PhotonNetwork.versionPUN
    
    string.
  • Sounds reasonable! Thank you for the quick answer!