Player's Camera Disconnected from them while in first person

Hey! My game has been having a recurring bug where a player’s character will be teleported to a location but their camera somehow is stuck in its previous location. Players are intentionally locked in first person, so it makes no sense how their camera could disconnect from their character.

Here’s how the system works. A player is teleported from the previous map to a temporary spawn (Camera has never bugged out for this part). Then, after a delay, they are teleported to the next map (Camera bugs out at this part). On everybody else’s screen, the player gets teleported to the new location, and it seems like nothing is wrong. However, this is what the bugged player sees:


For that portion where you can see all the hairs, that’s when everybody is teleported to the temporary spawn. When they disappear is when everybody (including the bugged player) is teleported to the new map.

I have no clue how the player could be teleported while their camera stays locked in the previous position. Any help/ideas would be greatly appreciated.

Have you tried printing out the camera position values? By the way, your game is pretty cool.

Thanks! I haven’t yet, I’ll be trying that out and will get back with the results. It may be a little while though since the bug doesn’t happen often but I’d like to patch it anyway.

1 Like

Also, to add to this, the player still has full control of their character. The screenwipes are the player running into the map’s killbricks, proving that they have control over their character. Each time a player runs into a killbrick, they are teleported again to the map, but as shown, the camera is still locked in place when bugged.

Hey, sorry about that, finally got the bug to happen again and the camera’s CFrame was at the temp spawn instead of at the map, even though the character was at the map.