cancel
Showing results for 
Search instead for 
Did you mean: 

How to recenter from Universal Menu? (using Unity5)

moodleman
Protege
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!
2 ACCEPTED SOLUTIONS

Accepted Solutions

moodleman
Protege
Ok, solved:

The problem I had was with an old upgrade of the Oculus OVR Utilities unity package. I must've done something wrong, I was using version 1.3. This time I deleted manually al files of the package and installed the 1.8 version, and it just worked, withoud the need of doing anything, as it always should 🙂

More info here:
https://forums.oculus.com/developer/discussion/43360/universal-menu-integration#latest


View solution in original post

moodleman
Protege
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.


View solution in original post

5 REPLIES 5

moodleman
Protege
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!

moodleman
Protege
Ok, solved:

The problem I had was with an old upgrade of the Oculus OVR Utilities unity package. I must've done something wrong, I was using version 1.3. This time I deleted manually al files of the package and installed the 1.8 version, and it just worked, withoud the need of doing anything, as it always should 🙂

More info here:
https://forums.oculus.com/developer/discussion/43360/universal-menu-integration#latest


Niceberg
Honored Guest
bump

moodleman
Protege
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.


Piflyon
Explorer
Is there an answer to the initial question anywhere ?