googlevr / gvr-unity-sdk

Google VR SDK for Unity
http://developers.google.com/vr/unity/
Other
2.71k stars 1.09k forks source link

All white screen after splash #24

Closed jamiltron closed 8 years ago

jamiltron commented 9 years ago

I am running Unity 5.0.0f4 and the cardboard-unity 0.4.5.

I have tried creating a basic scene with a plane, and pull in the CardboardMain prefab from the Cardboard/Prefabs folder, I can run fine in the editor, but when I try running it on my device (Nexus 5 running Android 5.1) I get the initial splash screen, followed by a completely white screen.

I have also tried running the DemoScene after removing references to CardboardGUI, but then I only get the Unity splash screen, which never updates.

Any help is greatly appreciated!

smdol commented 9 years ago

So far the best workaround that had been found, until this big is chased down, is to enable the Development Build option in the Build dialog. Please try that and say if it helps or not. On Mar 20, 2015 2:29 PM, "Justin Hamilton" notifications@github.com wrote:

I am running Unity 5.0.0f4 and the cardboard-unity 0.4.5.

I have tried creating a basic scene with a plane, and pull in the CardboardMain prefab from the Cardboard/Prefabs folder, I can run fine in the editor, but when I try running it on my device (Nexus 5 running Android 5.1) I get the initial splash screen, followed by a completely white screen.

I have also tried running the DemoScene after removing references to CardboardGUI, but then I only get the Unity splash screen, which never updates.

Any help is greatly appreciated!

— Reply to this email directly or view it on GitHub https://github.com/googlesamples/cardboard-unity/issues/24.

smdol commented 9 years ago

New version 0.4.9 is out. See if it helps -- you may still need the Development Build option.

jggiles commented 9 years ago

Enabling the Development Build option fixed this for me on 0.4.9. Thanks!

jamiltron commented 9 years ago

Yes, unless I am mistaken I still need the development build option checked in 0.4.9

PrototypeNM1 commented 9 years ago

Android 5.0.2 Unity 5.0.1

In a simple scene with only the default Cube and CardboardMain GameObjects I was able to recreate this bug whenever the camera faced the Cube - otherwise it rendered the default skymap like normal. This only bug happened in Android, not in the Windows Editor when set as an Android project.

Changing the Cube's Material from Default-Material to Default-Diffuse fixed the issue.

mahdijeddi commented 9 years ago

I could solve this by un-checking DirectRender on the StereoController script on the MainCamera.

PrototypeNM1 commented 9 years ago

I'm guessing this bug relates to Unity depreciating the legacy shader system, changing all default materials to physically based materials in Unity 5.

smdol commented 9 years ago

Definitely the new Default-Material seems to trigger the bug more readily.

smdol commented 8 years ago

Unity fixed this in 5.1, it appears.