My players are not spawning in PlayerStart, just in Zero

Okey, I think I found the solution.

All the code was correct but, when I setup the camera to the springArm I was not attaching it to the socket so the Engine was creating a Camera for each Pawn in the scene in Zero.

Good afternoon, I’m starting with UE4 C++ programming and trying to spawn pawns in different spawn points. The thing is that they’re just spawning in (0.0f, 0.0f, 0.0f) even when I setup the spawn in the GameMode.

Could someone tell me if I’m doing something wrong? Or any advice of my code?

https://pastebin.com/N1Sph6yP - This is my Pawn cpp.

https://pastebin.com/3Kd72e04 - This is my Pawn h.

These images are to clarify the problem.

https://imgur.com/a/dQ7J94G