I’m trying to set a name for a player and I do the logic of assigning the name (Not the syncing which happens in other code) in the OnServerAddPlayer method which takes the name from a text input. It all works when I write a name and host a server, the problem happens when a client joins the hosted server, it manages to get the host player name but it doesn’t set his own name - meaning the OnServerAddPlayer didn’t executed when the new client is joining - I ran a debug and found out that It really doesn’t call it.
Any suggestions where should I put the logic of getting the name out the input field and setting it on the player prefab instead on OnServerAddPlayer?