Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1177531
Regression
No
The cursor is visible when using CursorLockMode.Locked in the standalone build
Steps to reproduce:
1. Download 1177531_repro.zip
2. Add "SampleScene" to build settings and build a standalone player
3. Launch player
4. Press 'W' key to enable CursorLockMode.Locked
Expected results: Cursor is locked and not visible
Actual results: Cursor is locked and still visible
Reproduced with: 2020.1.0a1, 2019.3.0a12, 2019.2.2f1, 2018.4.7f1, 2017.4.32f1
Note:
Reproducible on Mac and Windows. Not reproducible with Linux
Reproducible with: mono and IL2CPP backends
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
- Lighting Data asset is not created when baking multiple Scenes at the same time
- Performance issues when instantiating a recognizer under UnityEngine.Windows.Speech
- Build fails with "Exception: Unity.IL2CPP.Building.BuilderFailedException: Build failed with 0 successful nodes and 0 failed ones" when building the project for iOS
- [Android] .aab Build fails when using Asset Bundles
- Builds fail without a useful error message when building a project with invalid product name
HunterAhlquist
Sep 06, 2020 01:55
Still having this issue in the current version.
Agoxandr
Nov 03, 2019 20:28
Workaround: You can change the Cursor texture to a fully transparent one, you generate for example using https://docs.unity3d.com/ScriptReference/Cursor.SetCursor.html