Friend not show Online after Changing its photonNetwork.Player name ?

Options
Im012
Im012
Hello,

I m trying to show a friend player is online/offlinee,,,

Ex - First player want to find a player name "TOY",,,,But a friend name "Toy" change its name during a game play.."
First Player not seen any player online ?

Photonnetwork.Findfriends() finds a friend using its photonetowork.Playername what if its change during a gameplaye..!!

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @Im012,

    Thank you for choosing Photon!

    Users, players and friends are uniquely identified using a UserId and not the Nickname.
    See my answer here.
  • Im012
    Im012
    edited January 2018
    Options
    JohnTube said:

    Hi @Im012,

    Thank you for choosing Photon!

    Users, players and friends are uniquely identified using a UserId and not the Nickname.
    See my answer here.

    Ok let me know u my process...

    Let's say we have two user "A" and "B"...both are connected to photon and "A" changes its name to "C"..
    the "B" add them as friend (i used web service that entered that "B" has friend name "C") this process the user "C" is still connect to photon...but it not shows a "B" to that user "C" is online...!!!

    But when i Run again my Game...user "C" Status can be seen is user "B"..!!