PUN2 Compatibility with PUN1?
Options
Say I have 2 unity projects using the same Photon AppID, one running PUN1 and one running PUN2. Their settings, RPC list, etc are the same. Would they be able to communicate with each other?
0
Best Answer
-
Hi @EranJ,
Very good question!
I think in theory PUN Classic (latest versions) and PUN 2 should be compatible.
But we do not recommend this and advise against it because we cannot guarantee anything.
Plus I'm not aware someone has tested this.
May I know why you need this?
But they cannot work together out-of-the-box since clients built with different PUN versions (even two versions of PUN Classic or PUN 2) cannot communicate or see each other by design.
So in order to make this work, you need to change the hardcoded PUN version in PhotonNetwork of one of the two versions so both can match the full AppVersion which is made of the PUN version + Game Version.5
Answers
-
Hi @EranJ,
Very good question!
I think in theory PUN Classic (latest versions) and PUN 2 should be compatible.
But we do not recommend this and advise against it because we cannot guarantee anything.
Plus I'm not aware someone has tested this.
May I know why you need this?
But they cannot work together out-of-the-box since clients built with different PUN versions (even two versions of PUN Classic or PUN 2) cannot communicate or see each other by design.
So in order to make this work, you need to change the hardcoded PUN version in PhotonNetwork of one of the two versions so both can match the full AppVersion which is made of the PUN version + Game Version.5 -
We have multiple products using PUN and communicating with each other and I'd rather not make my colleagues update their projects if they can avoid it. Thanks for the response!0