Javascript SDK not able to connect to rooms created in PUN2 client

I have a Unity client that creates the room. But when I try to connect to the same room I get the following error:
Operation 226 error: Game does not exist (32758)

I am using the same region, the same app id and the same app version, but still can't seem to connect to the room.

I don't seem to be able to verify the region once connected in the Javascript SDK, and it seems to not error on invalid region input so this might still be wrong. But I'm simple connecting to EU this way:
var client = new Photon.LoadBalancing.LoadBalancingClient(Photon.ConnectionProtocol.Ws,
	"myAppId",
	""
);
client.connectToRegionMaster("eu");

Getting the room list via onRoomList tells me there are no rooms.

I am out of ideas on how I can fix this.

Comments

  • Hi @Stijn,

    Thank you for choosing Photon!

    You need to use the same AppVersion.
    Read more here.
  • Thanks! Appending the PUN version to the AppVersion in Javascript did the trick!