First Person Mouse Lock is not working in Studio

In my game, I am using LockFirstPerson camera mode. A few days ago, I began experiencing an issue where the mouse refuses to lock to center in first person. This only occurs in Studio, and works fine in-game. I know this issue isn’t because of anything I changed because I have tested the game on older versions where I was not experiencing this issue and it still occurs.

I have tested on 3 different PCs, none work as intended, but all work fine in-game. On my second PC, I tested the current version of the game and it worked for maybe 30 seconds until Studio froze for a second. After it unfroze, the issue appeared and even after reinstalling Studio, disabling Beta features, etc., the issue still persists.

Before the issue, when I would playtest in Studio the mouse would lock to the center of the screen as intended and you would not be able to move the mouse outside of the game window. After the issue, I can move the mouse freely in Studio and also in the game window.

I have attempted using my own camera logic to solve the issue, but that still didn’t work.

UserInputService.MouseBehavior reads as LockCenter, I have tried setting this every frame, still no dice.

My guess is that this is a Studio bug, but I was wondering if anyone else has run into this issue.

4 Likes

I started to have this issue too, started happening yesterday

Try disabling plugins, I found out that was actually the issue.

Specifically I had a plugin called ‘StudiPro,’ which for some reason affected the camera.

1 Like

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