Forum Discussion
Zennor
11 years agoExplorer
Help with Unity 5.1 + Oculus
I had a play around with Unity plus Dk2 when we were on 0.4.3 runtime which all worked fine though a little fiddly.
I've upgraded to a new computer and loaded the new v5.1 Unity .
Have installed and running 0.6 OVR.
Have downladed 0.6 SDK though I can't see how to install it as there is no executable . The folder is just sitting on my desktop . I've run the world demo contained - runs fine . ( any help installing welcome )
Now when I try to edit in Unity 5.1 02f :
edit /project settings / player and set ' virtual reality supported ' , to bring about the native rift support ,
I get a message saying that `changing active VR Api requires reloading all graphics objects, which may take a while '. When I click Apply I get an immediate application crash . I'm now going in circles and getting nowhere :)
Am I doing anything obviously wrong - is anyone else having the same problem .
Many thanks in advance for reading !
Mark
I've upgraded to a new computer and loaded the new v5.1 Unity .
Have installed and running 0.6 OVR.
Have downladed 0.6 SDK though I can't see how to install it as there is no executable . The folder is just sitting on my desktop . I've run the world demo contained - runs fine . ( any help installing welcome )
Now when I try to edit in Unity 5.1 02f :
edit /project settings / player and set ' virtual reality supported ' , to bring about the native rift support ,
I get a message saying that `changing active VR Api requires reloading all graphics objects, which may take a while '. When I click Apply I get an immediate application crash . I'm now going in circles and getting nowhere :)
Am I doing anything obviously wrong - is anyone else having the same problem .
Many thanks in advance for reading !
Mark
4 Replies
Replies have been turned off for this discussion
- cyberealityGrand ChampionThe SDK is just code, there is no executable, and you should only need this if you are using a C++ engine.
For Unity 5.1, you no longer need the Oculus Unity integration. You'll still need the Oculus runtime installed, but that is about it for setup. Just create a new project in Unity, enabled "Virtual Reality Supported" and that is about it. Just make sure you don't also have any Oculus files that may be left over if it's an existing project.
Also, can you upload this log file?C:\Users\username\AppData\Local\Unity\Editor\Editor.log
Also, the diagnostic log from the Config Util. - ZennorExplorerThanks for that Cyber . I managed to get it working - the crashes stopped.
Aside from the bugs that are being reported - my main problem with rendering the game screen to the DK2 by pressing play ,is that I get the health and safety warning stuck to my face - no key presses help. It stays from 15 sec to 15 minutes randomly - any tips on how to disable it ? - cyberealityGrand ChampionYou can disable the warning with a registry tweak and then a setting in the Config Util.
For Windows, the following key must be added if the Windows OS is 32-bit:
HKEY LOCAL MACHINE\Software\Oculus VR, LLC\LibOVR\HSWToggleEnabled
If the Windows OS is 64-bit, then the path will be slightly different:
HKEY LOCAL MACHINE\Software\Wow6432Node\Oculus VR, LLC\LibOVR\HSWToggleEnabled
Then look in the menu of the Config Util. - ACZ3Honored GuestSo this worked great... until we upgraded to Unity 5.2 and Oculus 0.7 - now the HSW appears every single play in editor test, and its really irritating. The registry trick no longer exposes the option to disable it.
Is there any current way to disable it during development? I've searched around and haven't found anything...
Thanks!
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
- 2 years ago
- 8 months ago