PUN Rock papers scissors - Need urgent reply

Options
I'm trying to make a 1 versus 1 word game multiplayer. But when I try to create/join a room, it makes me join the last room I created. and it still has the points and hp remaining from the last game session.. How do I make players join a new random room which has no players. Or atleast prohibit players from joining full rooms?

Comments

  • Tobias
    Options
    You can't join full rooms but maybe you didn't set a MaxPlayers value?
    When a client leaves and calls JoinRandom it's highly likely (during testing) that it finds the same room again.

    You can close a room and or make it invisible for matchmaking.
    As long as a room is open, visible (which it is by default) and has a free spot, it can be joined.