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
-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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Package signature validation unexpectedly return an invalid signature status if the validation check is done after the code signing certificate validaty range has passed
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
mhazani
Dec 13, 2016 00:45
Confirmed in 5.5.0f3. Le sigh.
xavier-loux
Aug 18, 2016 15:46
Confirmed bug in 5.4.0f3
unahong
Jul 26, 2016 04:52
Confirmed bug in 5.3.5 f1
krstrobe
Apr 27, 2016 16:07
Yes, please help!!
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
SantaKlaus
Jan 28, 2016 06:19
Confirmed bug in 5.3.1
Asthenia
Jan 27, 2016 23:04
Confirmed bug in 5.3.1
McDirty
Nov 24, 2015 23:47
This isn't resolved. Confirmed bug in 5.2.3