(Case 1415194) Recentering in tracking origin mode 'floor' with OpenXR on Oculus Quest 2 is broken

I noticed the other day when building with OpenXR not Oculus plugin, the usual behaviour of holding the Oculus button to recenter in-app doesn’t work with OpenXR plugin. Is there anything I need to add in code to handle this? Oculus Plugin handles it fine with the same scene/XR Rig and build

1 Like

Seems to only recenter in Device Tracking Origin Mode on the XR Rig, however my height is almost always wrong as the floor distance isn’t taken into account. Is the recenter not working there a bug? I need to use Floor Tracking Origin Mode.

8000250--1028628--upload_2022-3-28_12-22-31.png

Device means the HMD will be at the place the xr rig is. Floor means it will offset it properly from the floor

The thing is, using Floor mode with Oculus plugin on the Quest 2 allows recentering to work, in OpenXR it doesn’t (same scene but just exporting with OpenXR instead of Oculus).

If I am using OpenXR but switch to Device origin tracking mode, recentering works but with the added joy of not knowing the floor height.

Seems like a bug, you could make a bug report for the team to test it out.

Reported at (Case 1415194) [VR][Quest 2][OpenXR] Recentering in tracking origin mode ‘floor’ with OpenXR on Oculus/Meta Quest 2 is broken

1 Like

So it Wont Fix
https://issuetracker.unity3d.com/issues/openxr-recentering-in-tracking-origin-mode-floor-with-openxr-is-not-working

Do you know how to recenter on oculus.
I keep ocullus button pressed there is a loading icon, and when it’s done nothing happens.

I’m even willing to manually reset my my origin by how can I catch this event.

We’re working on adding support for recentering, which can be enabled through code. It should be available in an upcoming revision of OpenXR package.

3 Likes

Just an update for those looking for recentering.
By default in OpenXR 1.9+ Unity tries to use local floor mode tracking, which supports recentering events.

If you do not wish to have this behavior, you can call this line in your code “OpenXRSettings.SetAllowRecentering(false);”

1 Like

Still not working in 1.91. Floor mode places my head right on the floor.