Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
moodleman's avatar
moodleman
Protege
10 years ago
Solved

How to recenter from Universal Menu? (using Unity5)

Hi, I'm developing a game for Oculus Home Early Access, for PC only, with Unity5. The question is:

I'm using Unity, how can I recenter the app when the user press the recenter option from the Oculus Universal Menu? I have a custom button to recenter inside the game and it works, but I just don't know how to get that callback from the Universal menu in the game ¿?

The game is this one (If anyone wants a key for Oculus Home just ask!) ;)
http://sandin.noip.me/sbvr/index.html

Thanks!
  • Hi @Niceberg , in my case it was a problem with the Unity Integration Package updating process I did manually last time. I had an outdated version, that just didn't work. I just cleaned everything, did the updated procedure right this time, and not it works right automagically, as I describe above.


5 Replies

  • I've found this:
    "Recentering requests initiated from the Universal Menu are now implemented and will be handled automatically by the Unity Integration."
    [...]
    "   * Added support for recentering from within the Home Universal Menu."

    Here:
    https://developer3.oculus.com/documentation/game-engines/latest/concepts/release-integration/

    I know that is for a legacy Unity4 version, I'm using Unity 5.4.1f1 Personal. But, nowadays... should this be done automaticallly!?!? Is this a bug? Please if you know answer at least "yes" or "no", I'm lost about this.

    Thanks!

  • Hi @Niceberg , in my case it was a problem with the Unity Integration Package updating process I did manually last time. I had an outdated version, that just didn't work. I just cleaned everything, did the updated procedure right this time, and not it works right automagically, as I describe above.