isVisible = true doesn't make the room visible in the lobby

Options
Simple thing:
Users can create private (isVisible=false) rooms and I want to add the option to make the room visible again.
Turns out: PhotonNetwork.room.isVisible=true seems not to update the prop to the server, so a random search still can't find it.
Am I doing something wrong?
isVisible gets set by the masterclient of course!

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @Samb,

    Thank you for choosing Photon!

    What made you say that it does not work?
    Did you wait enough for the change to take effect on the server/lobby and be broadcast to clients?
    Wait for one or two rooms list update event(s) and see if it contains the newly visible room.
  • Samb
    Samb
    edited August 2017
    Options
    Hi @JohnTube !
    Sure, I really enjoy Photon and I'am mostly ready for the launch :)
    I don't have a "visual" room list, but I waited around 30 seconds.
    The setup is: Client 1 makes a isvisible=false room and opens the room via a button (Debug.Log says isvisible is now true)
    Client 2 waits for around 30 seconds and tries to find a random match, won't find any and creates a new room instead. But Client 2 should find the room of Client 1.
    I will program something for me to see the actual list of rooms but I think this setup should work.