r/OculusGoDev • • May 29 '19

Unity Scene Builds Blank

I am working on a simple application to sideload (a camera, light, some cubes to create walls, and a colored sphere) and can successfully install (and uninstall) it onto the Oculus Go. However, when clicking on it to start it up, the scene loads a dark void. My scene does not appear at all. I tried to follow these steps as closely as possible. I successfully added an apk file that was not my own and it ran as desired. This leads me to believe that I am missing something in Unity or in Android Studio...

My configurations:

  • Windows 10

  • Oculus Go

  • OVR Plugin 1.37.0

  • Unity version 2018.1.0f2

  • Android SDK Build-Tools 29-rc3

    • When I try to have only version 27.0.1 installed (like the Medium article suggests), an error pops up as seen in the photo below.

    • I believe that this is probably where I am running into problems; however, updating it results in the blank build yet again.

  • JDK version 1.8.0_152-release

  • My SDK files

Some things I've tried:

  • Matching my versions of everything to that of the Medium article

  • Make sure that my scene is in the Scenes to build (inside Build Settings)

  • Ensuring that my External Tools paths are accurate

  • Ensuring that I do not have typos in my Environment Variables

  • Creating an OSIG file for my HMD and adding it to Project/Assets/Plugins/Android/assets/

  • Making sure that the build is "Internal" not "Gradle"

  • Re-importing the Oculus Integration assets package

  • Downloading the tools_r25.2.5-windows.zip file and extracting it to the SDK root after deleting the existing tools folder

Thank you for your input.

4 Upvotes

Duplicates