Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Setting IsVisible to 'true' kicks non master players?!

$
0
0
Hi, I'm sure there is a simple reason for this that I'm missing.

My game is entirely playable online at this point. A room is created with a master client and several other clients can join. Great!

But now I'm trying to close off the room once all the players are in (confirmed that PhotonNetwork.CurrentRoom.PlayerCount shows the correct number) and I do:
PhotonNetwork.CurrentRoom.IsOpen = false;

This seems to kick out any other clients that aren't the master from the room. This happens with IsVisible = false too, but not with IsVisible = true. I don't understand, did I not register the players completely with the room possibly?

Viewing all articles
Browse latest Browse all 8947

Trending Articles