Search Issue Tracker
By Design
Votes
3
Found in
5.4.0b19
Issue ID
800978
Regression
No
Cursor.lockState = CursorLockMode.Locked doesnt work with Native Oculus VR support
To repro:
1) Open Attached project
2) Open 'Scene' scene
3) Note that Oculus SDK is the supported SDK
4) Note that the Cursor Lock script forces the cursor lock setting to 'Locked'
5) Build and Run a Windows Standalone build
6) Observe that the cursor is not locked to the window [BUG]
Additional steps
7) Run the same scene in the editor. Note that that cursor is locked within the game view when run in the editor. [EXPECTED BEHAVIOR]
This IS a regression as it DOES NOT occur here:
Version 5.3.5f1 (958194880ab6)
Mon, 23 May 2016 21:49:30 GMT
Branch: 5.3/vr/oculus-1.4-updates
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
phileday
Jun 26, 2016 17:13
I've discovered that if you click on the outside of the window and then back in again that the mouse becomes locked again. I've also notice that the OnApplicationFocus function returns false even though it is focused until you've done this.
I hope that helps.