Forum Discussion

Rockmanjoe64's avatar
Rockmanjoe64
Honored Guest
5 years ago
Solved

Setting up Oculus development environment in Unity imports same assets multiple times

Hello! I am new to VR development, and I am starting a new project by following the setup instructions on Oculus' website. This is what I notice:

 

  1. I have Unity installed, have setup my Quest 2 for Developer mode, and created a new project using the "3D" template.
  2. I go to File > Build Settings and switch to the Android Platform
  3. I select my debug device as my Oculus
  4. I click on the Switch Platform button
  5. I see Unity install several Oculus assets (takes about 10 - 15 minutes)
  6. I then proceed to install the Oculus Integration package, as per the instructions
  7. I see Unity install several Oculus assets (takes about 10 - 15minutes)
  8. I then proceed to enable VR Support by installing the XR Plugin Framework, as per the instructions
  9. I see Unity install several Oculus assets (takes about 10 - 15 minutes)
  10. I'm finally able to build an example app and launch it in my Oculus Quest 2

 

Expected

I expected the Oculus assets to only be installed once and be able to build an app within minutes.

 

Actual

I see the same Oculus assets being installed 3x, each one taking between 10 - 15 minutes. So I had to wait between 30 - 45 minutes until I could actually build an app.

 

This takes way too long, and the process redundantly installs the same assets every time.

 

Is there a faster way to do this? Thanks!

  • So I found out the fastest way is to use the VR template to create your project. 

    Once loaded, you change the target Platform in the Build Settings, then import the Oculus Integration package.

    Much faster!

    You just have to follow the rest of the instructions to tweak the build.

1 Reply

  • So I found out the fastest way is to use the VR template to create your project. 

    Once loaded, you change the target Platform in the Build Settings, then import the Oculus Integration package.

    Much faster!

    You just have to follow the rest of the instructions to tweak the build.