[Update: Looks like they may have reverted back to the old player scripts, so you will only be able to test this bug with the new player scripts.]
I have discovered a bug that is related to the new camera scripts. The problem goes away if I put in the old camera scripts.
-
I have a custom StarterCharacter that is all mesh parts, including the head. It was custom built and has the same parts as an R15 rig, and the same motor6Ds, which were added using the Custom Character Creator plugin.
-
For some reason, when I start a game via Start: Local Server, the spawned player camera gets stuck in first person mode sometimes, and it jitters in and out like crazy. When the character jumps, or goes into free fall, this error also happens.
-
If I reset my character, then all these problems go away, and everything works as normal.
To Reproduce: (bug only occurs with the new Player Scripts, not the old ones)
Repo.rbxl (69.7 KB)
-
Use the attached repo file. Note this has a custom character model in StarterCharacter.
-
In Studio, press Start: Local Server: 1 Player
-
Notice that during the initial Free Fall, the camera goes crazy as described above. Make the character jump, and you’ll see the same camera errors. Go up the ramp, and drop into a free fall, and you will see those errors again.
-
Step on the red kill brick to reset your character. Notice how everything now works fine with no errors.
Notes:
-
I have another custom mesh model this is much more slender than this test model, and the problems are even worse. Upon spawning the camera goes crazy when the character is idle. Moving the character via WASD brings the camera back to normal momentarily until I stop again.
-
My guess is that your new code makes some assumptions about the head, or the expected dimensions of the body parts.