I’m facing stuttering issue after changing the Default Pawn. Has anyone encountered this issue before? Even server is stuttering when adding controller Yaw-Pitch input. Is server trying to change NewPawn to DefaultPawn so it causes this behaviour?
Edit: I’ve fixed it. ShowMouseCursor made this issue so nothing to do with changing pawns
Sorry if this is reviving a Dead thread, but my god this post helped me immensely! This thread has been a god send. I’ve looked for this info for so long everywhere and finally someone has done it in a way I can follow and it actually worked. I found many youtube videos that made their menu’s etc work, but they never worked how I needed them to, this got mine to work. THANK YOU.
I changed this logic a lot since then as it wasn’t the way I needed it anymore.
Now no player has a default pawn/character, and because of this, camera is going to go to 0,0,0, this is how the engine is working when no pawn is set or camera. To hide this I’m not removing my loading widget until later when I’m giving that player it’s character.
To do that I have a function that when the controller is created on client side, I’m sending to the server with a method set to run on server, the class of that character:
Now that the player has it’s own character, I can hide/remove the loading screen.
In my case I have a place where all the players are spawned until they are all ready, and that is what “Waiting Area” is used for. You can change that to any location and rotation you want.
All the code/nodes from blueprint is/are inside the player controller.