Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X



Found in




Issue ID




The Cursor is visible when Cursor.visible is set to false and new InputSystem package is used



How to reproduce:
1. Open attached "" project and SampleScene scene
2. Enter the Play mode
3. Keep the Cursor above the Game view until the Play mode starts
4. Hover with the mouse on the Game view

Expected result: Cursor is not visible
Actual result: Cursor is visible

Reproducible with: 2018.4.27f1, 2019.4.9f1, 2020.1.4f1, 2020.2.0b1 (InputSystem 0.1.2-preview - 1.1.0-preview.1)

1. The "Cursor.visible = false" does not work only if entering the Play Mode while the mouse is not in the Game view
2. Only happens when the Active Input Handler setting is set to "Input System Package", setting it to "Both" fixes the issue

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0a6

  2. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.0b9

  3. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.0f1

  4. Response avatar

    Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.30f1

Comments (4)

  1. E6a6685f64aad11751f903b5d5c65c1a?d=mm


    Feb 28, 2021 09:50

    Hello. it is also found in 2019.4.12f1 which I am using right now also using input system.

  2. Abd008e3b82de6e86ce022c6cfb7927d?d=mm


    Oct 21, 2020 00:52

    Actually it looks like cursor visibility does not always work in builds. If the game runs in windowed mode, the cursor sometimes still stays visible when starting the game (same behaviour as described above). Using Unity 2020.1.9f1 (but this also happened with all previous 2020.1 versions).

    Haven't tried using "Both" Input Handler in builds yet (but of course that's no viable solution).

  3. 0191f164e09064d77b642c8dcc30dcf7?d=mm


    Sep 09, 2020 01:58

    I'm getting the same problem on 2020.1.4f1.

  4. 371dd6d86525a640aeeb519559600819?d=mm


    Sep 08, 2020 19:24

    Thanks for the workaround in note no. 2, I would like to add that sometimes it starts to work again with unknown conditions, then returns to being visible. Additionally, cursor visibility always works as it should in builds.

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.