Reproduction Steps
While using shift-lock disable the DevEnableMouseLock value under Player.
Assuming the issue should be the same when changing DevComputerMovementMode, & ComputerMovementMode when in shift-lock.
Expected Behavior
You expect your mouse to be able to free roam and not be in shift-lock anymore after the value is changed.
Actual Behavior
Your character is stuck in shift lock even after DevEnableMouseLock value is set to false. The player can turn off shift lock themselves though. You won’t be able to go back into it which is intended behavior.
Workaround
Within the MouseLockController Script
First on Line 60 the change is detected UpdateMouseLockAvailability is called which fires EnableMouseLock on line 112
Basically on line 201 the mouseLockToggledEvent is fired before self.isMouseLocked is set to false on line 204 so nothing happens
In the CameraModule script on line 583 it’s set again to true instead of false
Setting self.isMouseLocked before firing the mouseLockToggledEvent fixes it
Found this when trying to turn off DevEnableMouseLock when attaching meat with a RodConstraint to the character model because Players tend to use the camera movement to unfairly speed glitch by spamming it left and right.
Issue Area: Engine
Issue Type: Other
Impact: Moderate
Frequency: Constantly
Date First Experienced: 2021-12-03 00:12:00 (-05:00)
Date Last Experienced: 2021-12-03 00:12:00 (-05:00)