Can't successfully change CameraSubject to new character when using scriptable camera

:wave: Hello,

I’m working on a small project which relies on the player choosing one of three characters. It’s been going really well until I’ve come across this bug, which I’ve tried fixing for a while now.

I have this custom camera system that I made. It basically forces you into first-person mode but pressing Shift forces you into third-person mode.

The issue comes when changing characters. The camera doesn’t follow the new character and instead stays frozen where it was previously.

(video)

However, the camera says it’s locked onto the new character, despite showing no evidence of it.

Any help would be greatly appreciated! :slightly_smiling_face:

Could you set the cameraType back to Custom so it locks onto the player, then set it back to scriptable when you need to?

1 Like