I am creating a real time multiplayer game in unity 3d using Google Play Game Services. In my function where I deal with the positioning of players based on information that is sent from other players, I get a sender id. The sender id is a long string of characters that does not match any participation ids. My participation ids are just strings such as "Player 1234." I keep the participation ids in an array so I can reference them and compare them to the sender of the information that I am receiving so I know which player it is from.
If the sender id and participation id are two different things, how do I make the connection between the two?
Here is a link to the tutorial I have been following for Google play services in unity: https://www.raywenderlich.com/87042/creating-cross-platform-multi-player-game-unity-part-2
OnRealTimeMessageReceived
'ssenderId
is supposed to be equal to the particpants'participantID
s. It also implies that your participant ids should be much more random-looking than "Player 1234." There's likely something specific to your code that differs from the tutorial in a key way. \$\endgroup\$