Skip to main content
New Participant
April 24, 2024

Re- Centering OVR player using button not working

I'm attempting to re-center the OVR Camera Rig using a button on a canvas in my Unity project. I'm using the Oculus Integration version 57.0.1, specifically for hand tracking without controllers. Despite trying the RecenterPose() function, it doesn't seem to have any effect on my Quest 2 headset.

I've attempted to use this function both within the OVRManager script and in a new script, but neither approach seems to work. When testing the function using Debug.Log, I can see that it's being called, but there's no observable change in re-centering the camera rig.

Here's the function I've been using:

public void RecenterPlayer(){
OVRManager.display.RecenterPose();
Debug.Log("Recentered!");
}

I've also explored alternative solutions mentioned in a forum thread, but none of them have proven successful for me: https://communityforums.atmeta.com/t5/Unity-VR-Development/How-to-recenter-camera-orientation-on-Oculus-Quest-in-Unity/td-p/744108 

Could anyone provide assistance with this issue?

    This topic has been closed for replies.

    1 reply

    jtriveri
    Honored Contributor
    May 1, 2024

    This function doesn't work on Quest, only Desktop 😞

    Do you need to trigger a system recenter? Can't you just reset your player's pose in-game?