Camera does not rotate when setting its CFrame directly after changing its CameraType

Hello! I’ve recently come across a bug that has affected my submission for the Roblox developer challenge 2025. Essentially, the game relied on setting the camera’s CFrame directly after changing its CameraType from Scriptable to Custom. This should keep the camera’s position the same, but set its rotation to that of the CFrame. However, recently, doing this does not affect the camera at all, keeping its rotation to whatever it was prior to setting it. I’m not home right now, but when I am, I will send a place file here showing the bug.
Here’s a link to the affected game - notice how the camera does not rotate to align with the TV - R.I.F.T - Roblox

A quick note - this only started a while after publishing the game, which really sucks since I can’t edit the game to fix it as it is a submission for the RDC 2025 as I had previously mentioned.

Thanks!

Edit: Here’s a link to a place file with the bug. Read the LocalScript in StarterPlayerScripts to see what is happening.
Place1.rbxl (46.9 KB)

1 Like