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)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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