Search Unity

GearVR viewport issue

Discussion in 'AR/VR (XR) Discussion' started by glardon, Sep 7, 2016.

  1. glardon

    glardon

    Joined:
    Apr 8, 2015
    Posts:
    14
    Hi,

    Working on a VR app for GearVR, we realized that our reticle seemed to be a little shiffted on the right.
    I tried to watch the phone screen outside the Gear and i realized that (have a look to the screenshot).

    The screenshot was taken on a galaxy s7 edge, we have the same thing on a standard galaxy s7.

    Is this a Unity bug (i'm on 5.4) ?
    Does anybody have a tip to correct that ?

    Thanks
     

    Attached Files:

  2. glardon

    glardon

    Joined:
    Apr 8, 2015
    Posts:
    14
  3. FloBeber

    FloBeber

    Joined:
    Jun 9, 2015
    Posts:
    166
    I'd like to help but I don't understand your problem. If what you call "reticle" on your screenshot is that straight vertical line, it seems well centered.
     
  4. glardon

    glardon

    Joined:
    Apr 8, 2015
    Posts:
    14
    Hi,

    Well on the screenshot we don't have any reticle, but you can see that the left eye camera is cut on the left, and the right eye is a little shifted on the left.

    I'm not sure, but it seems that the entire scene is shifted on the left, not well centered.

    With a galaxy s6 the left eye is more cut.
    Why the 2 eyes are not well centered ?
     
  5. FloBeber

    FloBeber

    Joined:
    Jun 9, 2015
    Posts:
    166
    Oh OK! That's crazy.

    Are you using a regular Unity Camera set to Target Eye "Both"?
     
  6. glardon

    glardon

    Joined:
    Apr 8, 2015
    Posts:
    14
    Yes, exactly, with virtual reality enabled
    I tryed with a blank project and i have the same result
     
  7. FloBeber

    FloBeber

    Joined:
    Jun 9, 2015
    Posts:
    166
    mmhh... Have you tried to setup a very simple new project to check if that issue is still present? That would be the first thing I'd try.

    I've worked on several Unity VR projects and never encountered that weird offset.
     
  8. glardon

    glardon

    Joined:
    Apr 8, 2015
    Posts:
    14
    yep : I tryed with a blank project and i have the same result
     
  9. FloBeber

    FloBeber

    Joined:
    Jun 9, 2015
    Posts:
    166
  10. glardon

    glardon

    Joined:
    Apr 8, 2015
    Posts:
    14
    Strange, nothing special in your settings.

    Are you using a classic S6 or a S6 edge ?
     
  11. FloBeber

    FloBeber

    Joined:
    Jun 9, 2015
    Posts:
    166
    Sorry it doesn't help :/
    I use a regular S6.
     
  12. glardon

    glardon

    Joined:
    Apr 8, 2015
    Posts:
    14
    Thank you anyway, i continue to search