cancel
Showing results for 
Search instead for 
Did you mean: 

How to recenter Quest Camera from unity using Meta SDK 66.0.0 and Oculus/Open XR plugin

shihab26284
Honored Guest

Hello 

I am trying add a functionality in my project that I can use to recenter meta quest camera by pressing a button on keyboard. I am not developing a package for quest 2. Its a windows standalone application that I am streaming to Quest 2 using cable.

 

Unity version: 2021.3.26f1
Meta SDK version: 66.0.0
Meta sdk downloaded from Unity Asset store name: Meta XR all in one sdk
 

So far I tried using 

OVRManager.display.RecenterPose()

and 

M_InputSystem.TryRecenter() [here m_InputSystem type is XRInputSubsystem]

These function failed to recenter camera. I tested just using Oculus plugin and just using OpenXR plugin.

M_InputSystem.TryRecenter() does work for Varjo , HTC vive device but not Quest 2.

Please let me know if this functionality is possible to implement and if so then  how?

Thank you

1 REPLY 1

MetaQuestSupport
Community Manager
Community Manager

Hi there @shihab26284,

 

Thanks for posting into our forum. We understand that sometimes things don't go they way they should in the developer's world, which is why we have created a whole page just for you guys! Should you want to investigate more, all you have to do is click on Developers Page.