Search Issue Tracker
Won't Fix
Votes
4
Found in
5.3.4f1
Issue ID
794975
Regression
No
[VR][Build] Cursor.LockState doesn't work in VR Build
Steps to reproduce:
1. Download and open attached project
2. Turn on VR mode
3. Build project including "MainScene" scene
Actual result: Cursor is not locked
Expected result: Cursor gets locked
Tested and reproduce on:
Windows 10
Unity 5.3.4p6, 5.4.0b18
Oculus DK2
OVR Plugin 1.3.2
OVR Runtime 1.3.2
Note: Cursor.LockState works just fine in editor and builds without VR support
Comments (1)
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
- Particles spawn at the same position when using raw byte address buffer in VFX Graph
- Decal Shader Graph - Custom vertex interpolators are always 0
- Error “NullReferenceException: Object reference not set to an instance of an object“ is present when the UI Toolkit Debugger window is docked and inactive on Editor launch
- RenderTexture pixels are gray when created without drawing on macOS
- Slider disappears when the Baked Lightmap Viewer window is at its minimum size
abledbody
Jun 05, 2016 00:04
I'm having the same problem. This problem is compounded in confined mode by the fact that you can't see window borders in VR, so players don't know where the edge lies.