Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.4.3f1
Issue ID
1167161
Regression
Yes
[VR]UnityEngine.XR.InputTracking.GetLocalRotation(XRNode.CenterEye) returns Quaternion.identity when no sensor is connected
How to reproduce:
1. Open the user's project
2. Open the "Scenes/SampleScene" Scene
3. Enter the Play Mode
4. Disconnect Oculus's sensors
Expected result: Cube is following head movements
Actual result: Cube stays fixed next to the left cube
Reproducible with 2018.4.3f1
Not reproducible with 2017.4.29f1, 2018.4.2f1, 2019.1.9f1, 2019.2.0b8, 2019.3.0a8
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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note:
We recommend either using GetNodeStates and using the TryGetRotation function which will return false if no rotation data is provided, or using the InputDevice TryGetFeature API to request the CommonUsages.deviceRotation usage.