Search Issue Tracker

Fixed in 2020.1

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 (3)

  1. A0515e912c4247f4dc44ee9f4a03aae9?d=mm

    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

  2. 605cd31798dd5258a8efa29baf81de98?d=mm

    carylouder007

    Sep 27, 2019 05:59

    Thanks for the page which is really <a href="https://www.sparksupport.com/hire-php-programmer-india.html"> Hire Php developers India </a> helping the users very much. The good collection of various ideas are the main attraction of the page. With the growth of various topics is making the page really interesting.

  3. 3ecd3cdb044819ccf5b5028cbf713c94?d=mm

    zerathomaz37

    Aug 21, 2019 10:46

    Thanks for sharing these steps to reproduce the result. http://www.cannotprint.com/ I followed the steps and but didn't get the output as mentioned in the post. My result was cursor is locked and not visible. How to get original results using these steps? Could you explain in detail?

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.