Forum Discussion
moodleman
10 years agoProtege
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!
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!
- 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 - 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
- moodlemanProtegeI'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! - moodlemanProtegeOk, 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 - NicebergHonored Guestbump
- moodlemanProtegeHi @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.
- PiflyonExplorerIs there an answer to the initial question anywhere ?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 years agoAnonymous