Download

Multiplayer server spawn at 0,0,0 location

When I host a game and get to the lobby the server spawn at 0,0,0 location and clients spawn at the right location where I put the spawn actor, When I travel to a new map the server also spawn at 0,0,0 location and clients to respective location…
Also when the server kill someone and the player respawn, the server return to 0,0,0 location.
BTW my function of respawn have a condition to respawn only the dead character.

here is my function in player controller and the function that call to respawn in player character;