Skip to main content
Inspiring
September 25, 2016
Solved

How to recenter from Universal Menu? (using Unity5)

  • September 25, 2016
  • 5 replies
  • 1920 views
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!
Best answer by moodleman
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


5 replies

moodlemanAuthor
Inspiring
October 4, 2016
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!

moodlemanAuthorAnswer
Inspiring
October 10, 2016
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


New Participant
December 22, 2016
bump

moodlemanAuthor
Inspiring
January 10, 2017
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.


Up and Coming
May 31, 2017
Is there an answer to the initial question anywhere ?