Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Why "Cursor.lockState" does not work?

Discussion in 'Documentation' started by Rotecks, Jun 29, 2018.

  1. Rotecks

    Rotecks

    Joined:
    Dec 17, 2014
    Posts:
    47
    Hello to everyone, especially the Unity team.
    I have a very simple question. Why Cursor.LockState still does not work?

    0) I had this problem for a long time, maybe a year ago.
    1) I studied the documentation: https://docs.unity3d.com/ScriptReference/Cursor-lockState.html
    2) I was looking for an answer in the network:
    https://forum.unity.com/threads/cursor-lockstate-troubles.278221/
    https://forum.unity.com/threads/locking-the-mouse.294453/#post-1941423
    https://answers.unity.com/questions/1020927/cursorlockstate-not-working.html

    From this it can be seen that this mistake has already taken place for more than 3 years.

    Guys, it's time for great achievements, you need to fix it;)