Name of a player from Lobby to Game Level

Okay just reading this off my mind but do let me know if this works for you.

  1. Create A Name Variable in your Player State. (For Replication)
  2. Create A variable for your Player Name in your Game Instance. (For Persistence)
  3. Once you set the Name value via UI store it in your game instance’s variable.
  4. when you start the Game level Override OnPostLogin method and fire a server RPC from there which will get the value from your game Instance and store it in your PlayerState.

Finally Read the name from PlayerState when you want to show them in your Game level.

I have no idea if this is right way or not, but its worth checking.