Cross platform (Unity & JS) not working
Hi,
we've developed a simple game using Photon for Unity, which is working fine. We'd like to add support for cross platform HTML clients using JavaScript. Unfortunately, we can't seem to get the JavaScript clients to see the Unity ones and vice-versa.
I've gone through the matchmaking checklist:
- Both Unity and JavaScript are using the same AppID and Version
- Both are also connecting to the same master region, EU
Additionally:
- JavaScript clients can create a room, and that's seen by other JavaScript clients; the same happens between Unity clients
- Trying to connect from Unity into the JavaScript client's room by name yields a "Operation failed: OperationResponse 225: ReturnCode: 32760 (No match found)" warning
What could I still be missing here?
we've developed a simple game using Photon for Unity, which is working fine. We'd like to add support for cross platform HTML clients using JavaScript. Unfortunately, we can't seem to get the JavaScript clients to see the Unity ones and vice-versa.
I've gone through the matchmaking checklist:
- Both Unity and JavaScript are using the same AppID and Version
- Both are also connecting to the same master region, EU
Additionally:
- JavaScript clients can create a room, and that's seen by other JavaScript clients; the same happens between Unity clients
- Trying to connect from Unity into the JavaScript client's room by name yields a "Operation failed: OperationResponse 225: ReturnCode: 32760 (No match found)" warning
What could I still be missing here?
0
Comments
-
Hi @titonbrujah.
I assume that with 'matchmaking checklis' you refer to https://doc.photonengine.com/en-us/pun/current/lobby-and-matchmaking/matchmaking-and-lobby#matchmaking_checklisttitonbrujah said:Hi,
I've gone through the matchmaking checklist:
- Both Unity and JavaScript are using the same AppID and Version
- Both are also connecting to the same master region, EU?
Bullet-point 3 in that list contains two links, one to https://doc.photonengine.com/en-us/pun/current/reference/glossary#appversion and one to https://doc.photonengine.com/en-us/pun/current/getting-started/feature-overview#_versionpun.
At both those links it is explained that PUN appends its own version to the game version, resulting in an appVersion in the format gameVersion_PUNVersion.
Hence for the appVersion to match between PUN and other Photon Clients, you must manually append the PUN version to the appVersion in the other Photon clients. Are you doing that?0 -
Yep, that was it, thanks a lot @Kaiserludi (they really ought to make it more explicit that there's a gotcha on the checklist)0