Search Unity

Graphical glitches in VR

Discussion in 'VR' started by TangYC, Oct 10, 2019.

  1. TangYC

    TangYC

    Joined:
    Apr 10, 2016
    Posts:
    5
    Hi, I am making a game and I am adding VR feature into it.
    But after the game were test in VR, everything gone wrong.



    From the video you can see there are bright lines(glitches?) that moving on the texture all over the places.
    And the testing character model I made have some part of the skin that should be not visible underneath the clothes are visible when camera is far away.
    The material I use is Toon/Basic from Unity Standard Assets.

    The graphical setting is set to very high and the anti aliasing is 8x but its still heavily edgy...
    What have I done wrong?
    Sorry its my first time making into VR.
    Sorry for the quality for my mobile screen recorder
     
  2. BiggerInsideVR

    BiggerInsideVR

    Joined:
    Nov 23, 2017
    Posts:
    7
    I experimented the same kind of glitches, using LWRP.
    So far, no clue about how to get rid of them.
     
  3. TangYC

    TangYC

    Joined:
    Apr 10, 2016
    Posts:
    5
    @BiggerInsideVR I had tried using LWRP but the whole game didn't even rendered out (Player appear in the default Unity background scene).
     
  4. V-J

    V-J

    Joined:
    Apr 1, 2015
    Posts:
    73
    If you are running your app on a mobile device, you should be looking to optimize your project;
    1. Merge meshes
    2. Bake lighting
    3. Reduce texture size ASTC
    4. Oclussion Culling
    5. Set the graphical settings to low
     
  5. jackpr

    jackpr

    Unity Technologies

    Joined:
    Jan 18, 2018
    Posts:
    50
    Oh hey, I recognize this. Is this on Daydream? Under Player Settings -> XR Settings try increasing the depth format from 16 bits to 24 bits. Untitled.png
     
    ROBYER1 likes this.
  6. TangYC

    TangYC

    Joined:
    Apr 10, 2016
    Posts:
    5
    @V-J Thanks for you advises, I will try those that are possible solution to m projects.
    @jackpr Thanks ! It seems that it solve my see-through problems! It works like a wonder with just a change! Oh, this game is on Cardboard.
     
  7. BiggerInsideVR

    BiggerInsideVR

    Joined:
    Nov 23, 2017
    Posts:
    7
    @jackpr Unfortunalty, this option is not available for me on OpenVR.
     
  8. BiggerInsideVR

    BiggerInsideVR

    Joined:
    Nov 23, 2017
    Posts:
    7
    Same here using the last beta, but work on 2019.2
     
  9. jackpr

    jackpr

    Unity Technologies

    Joined:
    Jan 18, 2018
    Posts:
    50
  10. jackpr

    jackpr

    Unity Technologies

    Joined:
    Jan 18, 2018
    Posts:
    50
  11. TangYC

    TangYC

    Joined:
    Apr 10, 2016
    Posts:
    5
    Maybe you need to change your materials to LWRP material, because the pipeline won't render unity standard material. If not this problem, then I have no idea what's the problem. Maybe there are few setting on graphical and player.
    But for my project I decide not to use LWRP for now.