Search Issue Tracker

By Design

Votes

4

Found in

5.1.1p3

Issue ID

710107

Regression

No

[WebGL] Cursor.lockState does not work as expected

WebGL

-

-e: see title, almost none of them work correctly

-repro:
--build and run attached test scene
--go through the listed states by button click
--NOTICE instead of doing as expected it does the following:
---Visible + Unlocked - works ok
---Visible + Confined - cursor not confined
---Visible + Locked - must be clicked twice (should only be once), AND hides the cursor (should keep it visible)
---Hidden + Unlocked - works ok
---Hidden + Confined - hides cursor but does not confine
---Hidden + Locked - must be clicked twice (should only be once)

Comments (8)

  1. mhazani

    Dec 13, 2016 00:45

    Confirmed in 5.5.0f3. Le sigh.

  2. xavier-loux

    Aug 18, 2016 15:46

    Confirmed bug in 5.4.0f3

  3. unahong

    Jul 26, 2016 04:52

    Confirmed bug in 5.3.5 f1

  4. krstrobe

    Apr 27, 2016 16:07

    Yes, please help!!

  5. Ayrik

    Feb 08, 2016 17:14

    For those that don't know what "by design" means, see the manual for the exact reason this isn't working as you expect. I just ran into this today, and while annoying, seems workable (except in Safari of course).
    http://docs.unity3d.com/Manual/webgl-cursorfullscreen.html

  6. SantaKlaus

    Jan 28, 2016 06:19

    Confirmed bug in 5.3.1

  7. Asthenia

    Jan 27, 2016 23:04

    Confirmed bug in 5.3.1

  8. McDirty

    Nov 24, 2015 23:47

    This isn't resolved. Confirmed bug in 5.2.3

Add comment

Log in to post comment