Has anyone gotten the cardboard sdk to work with multiple “head” prefabs (camera rigs)? I turned off the one under CardboardMain and added 2 others (one with depth-only, etc). It runs fine in the editor, but on Android devices, it fails to render anything after the first frame and gives me buffer and EGL errors.
Yep, I’ve gotten it to work. In the SDK’s demo scene, I put a little “rear view mirror” in the upper left of the screen, using a stereo rig facing backwards. Never ran into any buffer/EGL errors. Could be you have to make sure only one of the Main Cameras is actually tagged “MainCamera”. Could you post some log snippets?
I figured this out shortly after I asked. I had tried to delete the cardboard “head” childed under the “CardboardMain” prefab (the one with the Cardboard script), because I was not using it. Cardboard didn’t like that. So I instead turned off the “head” gameObject under “CardboardMain”.
Thanks dolims