When Create a Room it Joined automatically

Options
When i Create a room whithout writing any order on OnCreatedRoom() . its logined to the room Automatically .!!!
i want to create a room and stay on the looby and use a button to join the room ?
cause i was trying to create several rooms .. but it still joined the created rooms :-(
Any Idea Please ?

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited July 2019
    Options
    Hi @Tamim_Zoabi,

    Thank you for choosing Photon!

    This is by design:

    - only clients can create rooms
    - a client that creates a room automatically joins it
    - Empty rooms will be removed from Photon servers after EmptyRoomTTL.

    If your use case requires creating multiple rooms at once to make them available you need to revise it if you want to use Photon.
    You could use JoinOrCreateRoom.