Orbital camera (issue with Roblox CameraModule)

When I do

game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Orbital

I constantly get this error

attempt to multiply a Vector2 with an incompatible value type or nil - Client - CameraInput:214 20:03:46.205 Stack Begin - Studio 20:03:46.205 Script 'Players.TuroIatias.PlayerScripts.PlayerModule.CameraModule.CameraInput', Line 214 - function getRotation - Studio - CameraInput:214 20:03:46.206 Script 'Players.TuroIatias.PlayerScripts.PlayerModule.CameraModule.OrbitalCamera', Line 220 - function Update - Studio - OrbitalCamera:220 20:03:46.206 Script 'Players.TuroIatias.PlayerScripts.PlayerModule.CameraModule', Line 496 - function Update - Studio - CameraModule:496 20:03:46.206 Script 'Players.TuroIatias.PlayerScripts.PlayerModule.CameraModule', Line 136 - Studio - CameraModule:136 20:03:46.206 Stack End - Studio 20:03:46.206 RunService:fireRenderStepEarlyFunctions unexpected error while invoking callback: attempt to multiply a Vector2 with an incompatible value type or nil

I have no idea why, I haven’t touched the Roblox default PlayerModule. Does anyone have an idea about what could be the cause?

2 Likes

This has been reported as a bug and acknowledged by Roblox here:

You can fix this issue by manually editing the CameraModule if it’s something you need at the moment:

2 Likes

Oh I didn’t know about it, thanks!

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