Forum Discussion
BlackRen
2 years agoExplorer
[Unity, Bug] TryGetFeature(CommonUsages.deviceAcceleration) returns a zero Vector3
Hi,
With both Oculus Quest and Oculus Quest 2n in Unity 2021, 2022 (LTS versions), TryGetFeature(CommonUsages.deviceAcceleration) returns Vector3.zero. It is also the case with all acceleration features (rotationAngularAcceleration). This is the case for both handlers and for the helmet.
It works perfectly with Unity 2020 (with the same code), and whatever the version, it works for all other tested features (UserPresence, devicePosition, deviceVelocity, deviceOrientation, deviceAngularVelocity.
Please not that I don't want at all to compute it from the deviceVelocity. The information I need is the acceleration measured by the handler accelerometer.
Has anybody encountered and solved this issue ? Is this a known bug ?
Thank you all
Renaud
Replies have been turned off for this discussion
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago