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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
This is a duplicate of issue #1047005