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

Input

-

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

Comments (2)

  1. HunterAhlquist

    Sep 06, 2020 01:55

    Still having this issue in the current version.

  2. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.