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
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
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