UMG binding text to variable in multiplayer

I’m trying to make a way to display names in a multiplayer game. The server generates a name, gives it to the pawn and the pawn displays it with text above their head for others to see(for testing). On a UMG based hud, I have a text box at the bottom left that is bound to a variable. The pawn takes the hud they just created and sets that variable. However, It displays everyone’s name at once. What can I do so that it only shows the controlling pawns name.

Your Controlled Pawn is the one who have a controller and in a remote, just check that 2 condition.

Pawn in server is the one who have a controller and in authority.

And client pawn is the one who don’t have controller and in a remote.

What are you trying to say? That I should have the client decide his own name?

As it turns out, binding a text block to a string variable doesn’t really work in multiplayer games. Instead, I bound it to a function. In that function I have an interface that retrieves the text.