streaming level question
Our current ue4.27 project is using streaming level to smooth the transition between levels. In order to broadcast player location plus level info, we are considering 2 options. The first is to make rooms for each level which leads to 10 times more rooms based on the number of levels. The second is to put level ID into each player's custom data or property, and hide the character if not within the same level with local player.
Please help us to determine which option is better, and what is the common practise to synchronize player location/level in streaming level open world games.
This reads like a textbook use case for the Photon 'interest groups' feature: Let each level be represented by a different interest group. When a player enters a certain level, let him subscribe to the according interest group, and when he leaves that level, let him unsubscribe from that group. All players then simply only send their updates to the interest group to which they are subscribed themselves, so that only other subscribers of that interest group will receive it.
See https://doc.photonengine.com/en-us/realtime/current/gameplay/interestgroups, https://doc-api.photonengine.com/en/cpp/current/a05522.html#a27a98d2df8a640be7b0bace79d417cfe and https://doc-api.photonengine.com/en/cpp/current/a05602.html#a432e532572990df1b66c978f571d2cff for more information.0