Character visible in Forced First Person

The error at the bottom might have something to do with this? Output spams out:

19:15:56.776 - RunService:fireRenderStepEarlyFunctions unexpected error while invoking callback: Players.Player1.PlayerScripts.CameraScript:133: attempt to call method 'ApplyCameraCFrame' (a nil value) 19:15:56.790 - Players.Player1.PlayerScripts.CameraScript:133: attempt to call method 'ApplyCameraCFrame' (a nil value) 19:15:56.791 - Stack Begin 19:15:56.792 - Script 'Players.Player1.PlayerScripts.CameraScript', Line 133 19:15:56.793 - Stack End 19:15:56.793 - RunService:fireRenderStepEarlyFunctions unexpected error while invoking callback: Players.Player1.PlayerScripts.CameraScript:133: attempt to call method 'ApplyCameraCFrame' (a nil value)

…probably on RenderStepped. CameraScript isn’t my script.

The error spams as soon as the player joins, even before the player is forced into first person.

1 Like

Yeah, that’s the default one. You can patch the particular error and file a bug report. If you have a CameraScript in the StarterPlayerScripts folder, I’m pretty sure the default one won’t be cloned into it on startup. That script takes care of setting the LocalTransparencyModifier, so you need to keep it from throwing an error at the very least. :slight_smile:

Which CameraType are you using? Makes it easier to find the bug.

EDIT: Nvm, all the code seems ok.
It’s as if it’s the new CameraScript with an outdated RootCamera in it.
(based on GitHub stuff)
At least, that seems the case for you.
Did you put anything in the StarterPlayerScripts thing?

Yes actually. I copied and pasted an edited version of the entire RootCamera so I could play with the mouse sensitivity in first person. This was a while ago. Could that be the problem?

With the VR update, they changed the CameraScript a bit.
It uses RootCamera:ApplyCameraCFrameThing() and other stuff.
Your CameraScript is apparently up-to-date, but not your RootCamera.
Updating it by taking it frm github (or Play Solo) might help.

Oh boy. How did this happen?

EDIT: Oh, you’re using a custom thing? That’d do it. Make sure you’re using the latest version of RootCamera and at least ClassicCamera!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.