Search Issue Tracker
Duplicate
Votes
0
Found in
2018.2.6f1
Issue ID
1081140
Regression
No
Mouse.lockState change from Locked to Confined breaks mouse in editor
How to reproduce:
1. Open user-submitted project (ReproduceMouseLock.zip)
2. Press Play
3. Press Alt, which locks the mouse movement
4. Release Alt and move the mouse around
Expected result: Mouse is constricted to the Game View
Actual result: Mouse is locked in the center of Game View
Reproducible with: 2018.1.9f2, 2018.2.9f1, 2018.3.0b2, 2019.1.0a1
Not reproducible with: 2017.4.11f1, 2018.1.0b13
Note: This issue reproduces if the script is edited and before CursorLockMode is Confined, it is set to None. If the CursorLockMode is not set to None before confining, then the mouse behaves like it is locked in Editor and reproduces on all versions of Unity. Does not reproduce in built application.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on __pthread_kill when initializing Vuplex WebView while entering the Play Mode
- Crash on FindSurface when adding a custom Renderer Feature to a 2D Renderer Data Asset
- [Android] [Vulkan] [UI Toolkit] Application crashes when the device is rotated when it has UI Toolkit TextField on Vulkan devices
- Crash on DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate when opening a specific project
- Crash on memset_repstos when pressing a UI button while in Play Mode
This is a duplicate of issue #823895