Search Issue Tracker
Duplicate
Votes
0
Found in
2018.1.3f1
Issue ID
1047137
Regression
Yes
CursorLockMode.Locked doesn't keep cursor locked in a build after refocusing the game window
Repro steps:
1. Open user attached project
2. Build and Run the project: File -> Build and Run
3. Run the build in Full Screen
4. Refocus the window by hitting Alt+Tab twice
5. Move the cursor out of the game window
Expected: The cursor is locked to the center of the game window
Actual: The cursor can be moved outside the game window
Reproducible with: 2018.1.0a1, 2018.1.6f1
Not reproducible with: 2017.1.4p2, 2017.2.3p1, 2017.4.6f1, 2018.2.0a1, 2018.2.0b9, 2018.3.0a2
Notes:
- This only happens when "Visible in background" is unchecked in the Player settings
- Two screens required to see the issue
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
- Video is not rendered in Video Player when Material Override is set as the Render Mode and a SpriteRenderer is used
- Scene.isSubScene returns True when a Scene that is not a SubScene is loaded in a build
- The Search window does not show objects with inherited components when filtering by type
- Scrolling occurs when using a shortcut with "Wheel Up" or "Wheel Down" on a selection command in a scrollable Hierarchy window
- Shortcut fails to trigger when using KeyCode.WheelUp with ShortcutModifiers.Shift
This is a duplicate of issue #1047005