CameraType.Attach not actually attached to CameraSubject

Description:
While testing in play solo, I switched my CameraSubject from Humanoid to the root part of a vehicle I was driving, and then switched my CameraType from Custom to Attach. However, when I set my CameraType to Attach, the Camera began to act strangely. The camera subject was still the root part of the vehicle, but the camera was acting as if it was still attached to my humanoid. I also tested this with a test server in studio and with other files, and had the same result.

Where it happens:
This bug occurs in any one of my studio files, in Play Solo and in a local test server, by manually setting the CameraSubject and CameraType.

When it started happening:
I started to notice this happening on March 9th.

How to reproduce + screenshots:

  1. Start a local test server or play solo in studio. Set the CameraSubject to another part.
  2. Set the CameraType to Attach
  3. Move the character around. This is where the camera stays focused on the Part, but moves based on the Player.

The welded surface is the front face of the Part; the Camera should be facing the same direction as it. Instead, the camera faces in the direction of the player’s character.

How it should look:

Additionally, the same thing happens to me when I put the following inside of a Localscript inside the PlayerGui:

game.Workspace.CurrentCamera.CameraSubject = game.Workspace["Test Part"]
game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Attach

This studio file uses the same methods as described in the code above (after waiting 5 seconds). Simply use the A and D keys when the camera is attached to the Part, and you will be able to see what happens.

Attach Camera Studio Bug Demo.rbxl (20.3 KB)

1 Like