Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

GearVR: Stereoscopic with separate left/right eyes rendering black

Discussion in 'AR/VR (XR) Discussion' started by vfxaaron, May 29, 2018.

  1. vfxaaron

    vfxaaron

    Joined:
    Jun 25, 2014
    Posts:
    1
    I'm using Unity 5.6.3p2, trying to use layer culling and 2 cameras set to left / right eyes to display stereoscopic images and/or video.

    This works fine when previewing on Oculus Rift.

    However, when I build the APK and send it to the Android device, I only see a black screen. On Android, it works fine with one camera's target eye set to "Both", but when I set a camera's target to "Left" or "Right" it renders black on Android.

    I have seen similar issues in the forums and have tried using recommended solutions, without success.

    *In player settings "Multithreaded Rendering" is enabled, and Stereoscopic Rendering is set to "Multi Pass".
    *Minimum API level is 7.0(API level 24). I'm following all the guidelines listed for Mobile development for GearVR.
    *Have tried multiple combinations of player & camera settings (including clear flags, rendering path etc.).

    For now I am using a shader workaround, found online, which renders separately to left / right eyes. This could work, but I'd like to have the option of using the Editor to achieve the same effect. (and yes, that's likely more expensive)

    Please advise. Thank you!
     
  2. jcb8793

    jcb8793

    Joined:
    Friday
    Posts:
    1
    Hey man, did you find a solution for this? Running into the same problems in Oculus Go.

    Thanks!
     
  3. JDMulti

    JDMulti

    Joined:
    Jan 4, 2012
    Posts:
    373
    Looks like this bug has returned again. Today I did a test to check if 2018.2 is bug free for Samsung GearVR, however it turned out it's broken and unusable. I wonder if anyone has success using this version of Unity for Oculus mobile VR.

    I tried to build an APK and what I get is the stereoscopic view that needs to span the whole screen (1 part left 1 part right) is now only on 1 part of the screen. It's like I have 4 views of which 2 are on the left side and 2 on the right, however the right side it is all black.

    I do wonder if Unity actually includes mobile VR tests before shipping something, because often there are bugs in mobile builds while the editor just runs fine.