Hello,
I am currently working with the PlayFab Lobby in Unity/C#. Each player in the lobby has a different colour, which is associated with their lobby index/order (red = player 1, blue = player 2, etc).
I am trying to find a way of determining that player order across all the lobby players.
I originally tried to get the order of players via Lobby.GetMembers(), however that list order seems to be different across each lobby player.
I next tried setting a member property. The first player ("host") to create the lobby would be authoritative, and would use it's own lobby member list order to set a MemberProperty on the other players when they're added, stating their index in that list. This also does not work due to those players not being authenticated on the lobby "host"s game. The players cannot locally set it either, as they do not know their index (which is what I'm trying to solve).
Is there an easy method of determining this lobby index/order which I am missing? Any help would be appreciated :)
Thank for your time,
Martin