I read here that Photon does not have a master client in the lobby (only in rooms). Yet in their example code they do something like this during the Asteroids game lobby. Why reference IsMasterClient if it has no use in lobbies?
The terminology is what makes it confusing. A Photon “Lobby” is not the same as a game lobby. The important thing to know is that once you have multiple players in a “game lobby”, Photon recognizes that as a “Room”.
For Photon, the Lobby is the space you are in after you have connected to the server but before you have either created or joined a space for other clients to join you. (This isn’t EXACTLY true since connecting to the server doesn’t always mean you have joined their lobby, but in my experience that workflow fits most cases). This would be the space you’re in when you are either looking at a list of public rooms to hop in, deciding to create or join a private room, or getting your character ready to start matchmaking. Once you go past that step and join a public room, create or join a private room, or connect with someone via matchmaking, we traditionally call this the lobby, but for Photon purposes this is now recognized as a Room, in which case isMasterClient would be utilized.