Show changes on Blueprint widge in a multiplayer game.

Hi!

I’m developing a multiplayer game with two players which have to show their names above of their heads. This is the method to set that name:

If one player changes his/her name, the other player has to see it. But now, he/she doesn’t.

The PlayerNameWidget its a Widget Blueprint, and the SetName function does this:

How can enable the change in a Multiplayer game?

Thanks!

make the name a variable , make it replicated as repnotify
in the (on name rep notify) function that will appear , make that change you are trying to make