Mouse lock broken

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

I want it to not be broken

  1. What is the issue? Include screenshots / videos if possible!

Here’s an example of what’s happening, this only happens in the published game mouse lock works just fine in studio

Example below here is what’s supposed to happen, this is in studio. Works fine.

I have no clue what’s causing this but It’s something in my game because my mouse lock works just fine in other games, I joined my published game on an alt and the mouse lock was broken there too

I get no errors of any kind in console.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I’ve been looking around the dev hub but I didn’t find anyone with this exact problem. I found someone who had some issues because modals from text buttons were set to true but I checked this and all my text buttons have the modal set to false. So It’s something else

I just noticed this happening randomly when I played the game, I haven’t added any random models from the toolbox, and I have no made any scripts that change anything with the camera

Any help is greatly appreciated I’m completely lost