who is disconnected?

Options
Why is empty , i cant know who is disconnected?
public override void OnPlayerLeftRoom(Player jugador)
{
Debug.LogError("SE HA IDO EL JUGADOR "+ jugador.UserId);
Debug.LogError("SE HA IDO EL JUGADOR " + jugador.NickName);
Debug.LogError("SE HA IDO EL JUGADOR " + jugador.ActorNumber);



}
New Player is empty always and all data

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @tiktakgames,

    Thank you for choosing Photon!

    To exchange UserId set roomOptions.PublishUserId = true when creating rooms.
    Set Nickname before connecting / authenticating or even inside rooms and it will be synchronized automatically.
  • tiktakgames
    edited April 2020
    Options
    thank you