2
votes

I'm experimenting with Google Cardboard in Unity 3D to create a basic VR game. I'm having trouble figuring out which prefab is the stereoscopic cardboard camera.

I've found several videos that claim to show me, but when I look for the prefabs names they describe, I can't find them in my list. In the comments of one video someone suggested it was called GVREditorEmulator, which I have in my prefabs, but doesn't provide a camera when I play the scene (even on the Unity Remote 5 app).

Can someone tell me what the Google Cardboard Camera prefab is called?

I'm using Unity 3D version 2017.3.0f3 and Google Cardboard SDK for Unity v1.130.1 from this repository.

1

1 Answers

1
votes

Drag GVREditorEmulator.prefab in to your scene, and go to Build Settings then switch platform to iOS or Android, then go to Player Settings and click on the OtherSettings Screenshot then click on the Virtual Reality moved to XR settings field, then you will get this screen Screenshot2, check Virtual Reality Supported and on plus sign chose Cardboard. Now you can play scene (hold Alt and move mouse to simulate movement of the head).

Note: Editor doesn't show the stereo view anymore but it will be there when you build your game on the target device.