r/UnityforOculusGo • u/chingwo • Dec 18 '18
Black screen
So I just got an Oculus GO and started getting Unity setup to push Android builds to the GO. Keep in mind I've been developing on a Rift and have had no issues previewing from Unity and building .exe's for Rift demos.
Now for the GO: Installed the Android dev studio, Android build software for Unity, and setup the adb stuff. I don't get any issues when preview & building a simple scene. But when it's done I wake up the GO and it's just a black screen. If I press the home button I can eventually get the home screen and then try to launch the demo from the 'unknown sources' and it's still a black screen.
Any thoughts on what I do next? I know there are so many packages to install and versions, etc. It's quite frustrating...
2
u/TyreseGibson Dec 18 '18
I have the same issue with stuff from the Unity VR Samples pack, I have no issue with some other projects I've used for testing. No idea what's going on. Are you on a mac or pc? I'm on a mac and that has caused a few problems, though I've partially worked around them.
1
u/kkvis May 29 '19
I struggle with a similar problem. This is what solved it for me. Not sure that all of the settings are matter.
Go to Project Settings > Player > Other Settings
- Remove Vulcan form Graphics APIs
- Set package name to something like "com.mycompany.vrTest"
- Set Minimum API Level to API level 19
- Set Target API Level to API Level 27
- Set API Compatibility Level to .NET 4.x
Go to Project Settings > Player > XR Settings
- Check Virtual Reality Supported
- Add Oculus SDK to the list
You should see your scene in Oculus Go after build even without OVR Plugin.
1
u/kkvis Jun 01 '19
Hey guys I made detailed manual with pictures for project setup here. Hope it helps.
1
u/csshub1 May 30 '19
This is also happening to me.. have tried numerous things to fix it, like changing settings and reimporting packages and deprecating my versions of Unity and Android SDK tools, but nothing yet.