Showing results for 
Search instead for 
Did you mean: 

Oculus Unity Integration is broken for Unity 2018.1 on Quest

Level 2
Unity: 2018.1.9f2
Oculus SDK: 12.0 / 13.0 / 14.0

It looks like the last few versions of the Oculus Unity Integration are not working on Quest when built from Unity 2018.1 anymore.

  1. Create a new Unity project in Unity 2018.1.9f2
  2. Download Oculus Unity Integration 1.43 and import it into the project (enough to import just the VR subfolder)
  3. Open the Oculus/VR/Scenes/Cubes sample scene and set it as the only scene in the build settings
  4. Open the project settings and make sure these settings are correct:
    * Virtual Reality Supported is checked in the 'XR Settings' section
    * Only the 'Oculus' SDK is selected in the 'XR Setting' section 'Virtual Reality SDKs' list
    * 'Minimum API Level' is set to API level 16 in the 'Other Settings' section
  5. Build and run the application to Quest
This should run correctly.
Now try following the same steps, but replace the version of the Oculus Unity Integration in step 2 with version 12.0 or above and the application will not run correctly anymore. Instead, it will open up on a flat screen inside the Quest OS.

  • As a shortcut, instead of following all these steps from scratch, I close Unity, delete the Oculus folder, open unity and re-import the Oculus Integration.
  • I tested this on versions 1.42, 1.43, 12.0, 13.0, 14.0
  • I can't upgrade my game from 2018.1 because it relies on UNET for multiplayer, and UNET stops working above this version (even though Unity's documentation suggests otherwise).

Level 2
I noticed that the OVRPlugin doesn't initialize properly and a call to OVRPlugin.OVRP_1_1_0.ovrp_GetNativeSDKVersion() returns null.
My assumption is that it might be due to the fact that at some point the Integration started to require the Oculus desktop / android packages to be installed. Was this dependency added in Integration 12.0?
The problem is that Unity 2018.1 doesn't have these packages in the package manager. Or am I missing something here? Is there a way to manually install these packages from github or something?

Level 4
Hey there, did you ever find a solution to this? I am having a similar problem with OVRPlugin.OVRP_1_1_0.ovrp_GetNativeSDKVersion() returning null, so it always says version 0.0.0 for the SDK.

Level 2
I haven't, but I was able to upgrade the project to 2018.4 which also has UNet. There the OVR plugin works