Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Oculus home headset reset not working.

Hey all

Just wondering if anyone can help/point me in the right direction, working on an app for the Oculus store and i need to get the "reset view" functionality of the Oculus menu working, currently when i open the menu and click reset view it keeps the view the same it was before no does not reset forward. I have tested with other applications to ensure its not an error with my computer.

I used to reset it on keypress with one of the f keys using the unity documentation resetview() and this worked, but to be approved for the store i needed to remove this and use the built in functionality. The project has all this code removed so should not be interfering with anything.

I assumed that this would just work but i have been struggling for the last few days now. 

Thanks in advance for any help

Comments

  • vrdavebvrdaveb Posts: 1,596 Oculus Staff
    Since Unity does not have a built-in api to tell vr apps to recenter, you have to use the oculus utilities to do this. All you need to do is add an instance of OVRManager.cs to a GameObject in your scene. It will listen for the recenter request and tell our SDK to recenter the view. If you need some other behavior, you can modify the script or subscribe to the RecenteredPose event.
  • fluxeanfluxean Posts: 2 Oculus Start Member
    edited December 2019
    I have yet to confirm this, but I assume vrdaveb's suggestion will fix failures related to VRC.PC.Input.3 correct?
Sign In or Register to comment.