Forum Discussion
marko_rkm
7 years agoHonored Guest
Virtual Reality SDK Oculus failed to initialize.
Hello, as you have seen in the title I'm having problems to Initialize the Oculus Rift SDK in Unity. I'm working in an app for samsung Gear VR. the versions I'm using are these: Unity 2017.3.1f1 ...
markhansaven
7 years agoExplorer
I'm getting a lot of problems from this Unity 2017.3.1f1 update just recently.
Firstly, it says in the editor 'Virtual Reality SDK Oculus failed to initialize.'. When building there's a libc error. Also, Google Cardboard is broken as well so now there's no fallback.
When looking at the updates this is what you see in Unity's website:
One awful solution that you can try is to create a brand new project and migrate your current project into that one. As of right now the Oculus Utilities project that I did that exact thing with, that was working for months, is now broken when building for the two most popular VR platforms. I will try an empty new project now and see if that works.
My guess is that there's some kind of interference, maybe that 'update to dll 1.20' when the latest dll is 1.21, not sure...
Firstly, it says in the editor 'Virtual Reality SDK Oculus failed to initialize.'. When building there's a libc error. Also, Google Cardboard is broken as well so now there's no fallback.
When looking at the updates this is what you see in Unity's website:
- XR: Fixed single-pass shadow issue when used with Nvidia VRWorks. (None)
- XR: Fixed issue with capturing a screen shot image while in single-pass instancing mode. (None)
- XR: Removed application orientation settings disable when Virtual Reality Supported was enabled and updated info message related to the settings. (973918)
- XR: Fixed early out of Virtual Reality SDK list when SDKs that are unsupported in play mode try to initialize. Also Improved log messages around the Virtual Reality SDK list in Play Mode. (971293)
- XR: Update Google NDK to v1.100
- XR: Update Oculus to version 1.20
- XR: Update Vuforia to version 7.0.43
- XR: Added XR.WSA.HolographicSettings.IsContentProtectionEnabled. This gets or sets whether the app is displaying protected content. While content protection is enabled, rendered content will be visible only in the headset, disabling the Mixed Reality - Portal's preview.
- XR: Added XR.WSA.HolographicSettings.ReprojectionMode. This gets or sets the kind of reprojection the app is requesting to stabilize its holographic rendering relative to the user's head motion.
One awful solution that you can try is to create a brand new project and migrate your current project into that one. As of right now the Oculus Utilities project that I did that exact thing with, that was working for months, is now broken when building for the two most popular VR platforms. I will try an empty new project now and see if that works.
My guess is that there's some kind of interference, maybe that 'update to dll 1.20' when the latest dll is 1.21, not sure...
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 months ago
- 3 years ago