Spawn actor in multiplayer by Beginplay

Hi, I want to spawn 2 cubes right next every character when I start the game, one for server and one for Client. Here is my blue print.My problem is: when I star the game, I have 2 cubes, bui they are all right next to Server character.What should I do to spawn a Cube for every player and right next to them?

GetPlayerController with index of 0 in a Server call will always return the Server’s PlayerController. Instead replace it with GetController of the Character/Pawn. That way you get the correct PlayerController in a Server call.

Thank you !