Weird camera issue

Hello there,

So in my game, I have a mechanic where when the player joins the experience, they are given one of the ScreenUIs from a folder in StarterPlayer. Now the reason why I have this mechanic and not put the ScreenUI in StarterGUI is because the player doesn’t spawn on default (which means that the player doesn’t get any of the ScreenUIs from StarterGui when they join the game) and whenever the player spawns, every single ScreenUI that is in StarterGUI that the player has gets rested. Now notice how in the video that I have attached in this topic where when the player joins the game, for a glimpse of a second, the camera is at a weird position at a weird angle? That’s the issue that I’m talking about. It also happens when the player clicks the white button for a glimpse of a second and the player spawns in (The button basically spawns/loads the character). Can someone please help me fix this issue? Thank you

Video:

This would be where the issue is occuring.
The Camera works by assigning itself a Subject to following around with the CameraSubject property, because the character isnt there, it wont assign itself to the player until the character is spawned in.

Depending on what your trying to do, you can Preload the UI to block out the camera from normal use, or script it in a way that makes it less awkward to look at.

Looks like at first you need to set the players camera viewing a black spot/area…
Better yet your loading screen could fire that fade out after the player is totally in place.
Seems to fade in a bit too fast, it is the perfect cover… may as well use it.

I just thought of a fix. The fix is when the player clicks on the button, it gives the player a screenui that’s a black screen before the player spawns in and before that weird camera angle appears and when the player spawns in, that screenui will stop being visible.

1 Like

And i will take your idea @2112Jay where the camera would point at a black object but, when the player joins the experience as this issue also happens when the player joins the experience.

I usually have a fade GUI open, black backdrop… fade in and out with the transparency. Other scripts can use it too.