Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2018.4
2019.4.9f1
2021.1
Issue ID
1282412
Regression
No
Cursor.LockState locking out of the screen when using two monitors with different scales
How to reproduce:
1. Set one of your monitor's scale to the highest scale (170% or 200%) in Windows Display settings
2. Open the user's attached "LD47" project
3. Drag the Editor's window to your other monitor
4. Enter Play Mode
5. Press the Esc key to make the cursor visible
Expected result: The cursor is in the center of the Game View window
Actual result: The cursor is below or above the center of the Game View window or even outside the Game View window
Reproducible with: 2018.4.27f1, 2019.4.11f1, 2020.1.6f1, 2020.2.0b7, 2021.1.0a1
Tested with:
- 2560x1440, 225% (Main monitor) and 1920x1080, 100% (second monitor)
Note:
- Two monitors are needed to reproduce the issue
- Setting the main display's scale, and testing on the second display, the cursor appears below the center. Setting the second monitor's scale and testing on the main monitor makes the cursor appear above the center
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
- 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
Resolution Note (fix version 2021.1):
Fixed in 2021.2.0a6