ActivateCameraController did not select a module

I’ve seen many posts about this, but none have answered my question. I have a 3-line script that I was using to test what it would be like to view a specific cframe of a part from the camera. This script is on StarterPlayerScripts, and the script is written down below. Any idea why this is warning ActivateCameraController did not select a module?

local camera = game.Workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
camera.CFrame = game.Workspace.Shop.Cameras.WeakSword.CFrame

This is a hacky solution I used when researching this problem a while back. I’m still not sure about the root cause, but use this for now & continue in your development until another person in this thread is able to give a more permanent solution.

Edit: Use that piece of code before you start messing with the camera’s properties.

This bug occurs when you try to do something to the camera before the default camera scripts kick-in.

1 Like