Second player can't join room using Photon PUN 2 and self hosted server

I'm attempting to migrate to PUN 2. I have a self hosted server I've successfully been using using PUN. I'm experiencing an issue where the first player to connect to the server is able to create and join a room, but any subsequent player will not join that room, though they are connected to the server and can see that room. I've tested on my own application as well as PUN's demo scenes. Here are logs for PUN's asteroid scene: Player 1 logs , Player 2 logs

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @Billy,

    The logs don't show much.
    The 2nd player doesn't even try to join any room, it just joins a lobby.
    Are you sure the 2nd player tries to join a room?
    What do you see on server logs?
  • Hey Billy,

    What do you mean by a self hosted server? Are you not using the Photon Cloud but are still able to use its functionality?

    Thanks!
  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @Billy,

    Make sure to set a unique UserId for each client before connecting if you do not use custom authentication.

    Hi @FrostyMixi,

    Thank you for choosing Photon!

    Yes, you can get self-hosted Photon Server here.