I am having an issue when a player joins my game there is a quick flash of a camera sitting at what looks like 0,0,0. The Server player doesn’t not have the issue, I am guessing because the server is actually loading the world. However when a client joins the servers session, they get a quick flicker of a camera sitting at (0,0,0), before I manually spawn them to their correct PlayerStart. I manually spawn them in my GameMode right after OnPostLogin.
I have tried adding a UMG loading screen immediately after OnPostLogin, but the screen doesn’t show until after the camera flicker. I have tried slowing it down the events after OnPostLogin with delays to figure out what order everything is being loaded. It seems that right after OnPostLogin a spectator is spawned and that is what the player is looking through before their actual Character is spawned. I do not have “Start Players as Spectators” checked in the GameMode defaults, so it confuses me that any spectator is being spawned at all.
I have tried other loading screen solutions such as https://wiki.unrealengine.com/Loading_Screen but even with that solution, I see the loading screen and as soon as it closes I get the same camera flicker before the player is spawned to their designated PlayerStart.
What camera does that PlayerController use if it isn’t possessing a pawn? Does it default to a spectator pawn? How can I start a level completely black and fade in after everything is loaded? I did try CamerManager fade, but I get the same flicker with that too.
Any ideas at all are appreciated. Thanks!