VR head presence not working properly

,

Hi,
I am using Unity 2021.3.8 and i tried tracking head presence but it is not working properly. It detects presence even if i am not using the Oculus quest

I am using this code :

            if (!headSet.isValid) headSet = InputDevices.GetDeviceAtXRNode(XRNode.Head);
            headSet.TryGetFeatureValue(UnityEngine.XR.CommonUsages.userPresence, out bool presence);
            _userPresence = presence;

Hello,

Can you provide us with more information about what is the result you expecting when calling the function? Also, can you provide information on which packages and its versions are you using in the project.