CommonUsages.deviceAcceleration bug on quest2?

,

Hi
On my quest 2 If I execute this code in the update:

InputDevice headDevice = InputDevices.GetDeviceAtXRNode(XRNode.Head);

Vector3 acceleration;
            bool accelerationSupported = headDevice.TryGetFeatureValue(CommonUsages.deviceAcceleration, out acceleration);
            string accelerationstring = acceleration.x.ToString() + "," + acceleration.y.ToString() + "," + acceleration.z.ToString() + ",";

I get ALWAYS 0,0,0 and to me seems a bug…
Also because accelerationSupported is ALWAYS true…

there lines:

  bool userPresent = false;
            bool presenceFeatureSupported = headDevice.TryGetFeatureValue(CommonUsages.userPresence, out userPresent);

Work as aspected

FYI seeing the same running Unity 2021.3.15 builds on Meta Quest 2

hi, did you solve this question? I also met the same question with zero return. Thank you!

Hi, did you solve this question? I also met the same quesiton. Thank you!