How do I detect when the user takes off the HMD when I'm using OpenXR in Unity,
I tried using userpresence in the New Input System but the HMD Removed event only fires AFTER the HMD is put back on!!!
Turns out this is a bug and is unusable at the moment. A day of Google searching only presented many people with the same Issue.
After a day of struggle I finally found a solution. You simply poll the velocity of the HMD and when it is Exactly a zero vector the user has taken off the HMD
======================= Edit 1 ===========================
I've only tested this on the Oculus Quest 3 So I don't know if it's a General Solution
======================================================