I am trying to make a networked multiplayer game and I am using UMG for the HUD. I am simply displaying text, which displays if the owner is the server or the client. When launching from the editor and setting the number of players to two, this works as intended.
can u post your command line here, and code where u check for client or server ? For -game it will be considered as client and server together, that might be your case
The server client is (MultiplayerTest Minimal_Default?Listen -game)
and the client is (MultiplayerTest 127.0.0.1 -game) here is the screen shot of the bp
As Duncan Dam pointed out … rather use Switch Has Authority to decide … not Owning Player Has Authority. If this is the HUD or Widget Blueprint then the Owning Player will always have authority. Well that is what I have experienced.