UE4 4.19 SetPlayerName not working in linux dedicated server

Hi using the setplayername is only working in the editor when “run dedicated server” is ticked which uses the “-server command”. When I run a linux dedicated server it seems the setplayername isnt working and instead the playername is set to the userid and uniqueid. Here is the function im using in gamemode beginplay.

235763-playername.png