Search Issue Tracker
Fixed in 5.3.0
Votes
0
Found in
5.1.0p1
Issue ID
705997
Regression
No
[CursorLockMode.Confined] Dragging the game window causes the cursor to lose its confinement
How to reproduce:
1. Create a new project
2. Add C# script which would have this in Start() function:
Cursor.lockState = CursorLockMode.Confined;
3. Make sure GameWindow is not set to Maximize on Play
4. Run it, notice that cursor locks in a window around it
5. Drag window a bit
6. Notice that cursor now loses its confinement
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Add comment