Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Google Daydream objects flickering

Discussion in 'Editor & General Support' started by Michael-Ho, Jun 6, 2017.

  1. Michael-Ho

    Michael-Ho

    Joined:
    Nov 2, 2012
    Posts:
    25
    Hello,
    i try a little bit with my Daydream.
    In the Unity3d editor the scene works fine, but on my ZTE Axon 7 the objects flickering if i move the camera.
    It looks like z-fighting, but i don't no why and how can i fix it?

    The rendering path is forward, with deffered it works.
    There is no shadow in the scene and only one directional light.
    But i need forward rendering because it's much faster and i can use antialiasing.

    Here is a video (sorry for the bad quality)


    thanks for the help.
     
  2. Michael-Ho

    Michael-Ho

    Joined:
    Nov 2, 2012
    Posts:
    25
    Sorry video was private
     
  3. FacerollGames

    FacerollGames

    Joined:
    Mar 29, 2017
    Posts:
    1
    We are having the same issue here, looks fine in the editor but on device (both Pixel XL and ZTE Axon 7) we get a lot of flickering that looks like Z-fighting. If we turn on HDR and MSAA the flickering goes away, however the FPS drops so much that it is unfortunately not an option. Would love to know if anyone has found a way to resolve this issue.
     
  4. Michael-Ho

    Michael-Ho

    Joined:
    Nov 2, 2012
    Posts:
    25
    That's correct, looks like Z-fighting. The flickering goes away if i turn the render mode to deffered rendering... but with the result from 60 fps to 30 fps... At this weekend i create a new project with a simple scene and try it again.
     
  5. Michael-Ho

    Michael-Ho

    Joined:
    Nov 2, 2012
    Posts:
    25
    I tried again...
    Created a new project with other assets and the result is the same... objects flicker...

    i need help :(
     
  6. jmitcheson

    jmitcheson

    Joined:
    Oct 21, 2016
    Posts:
    96
    I'm experiencing this too. I've tried every setting under the sun. You can even reproduce it with a cube in a default scene. I have submitted a bug report to Unity just now.

    Has anyone published a Daydream game with Unity? What Unity version was used? Perhaps we need to go back. I might try with the original GVR Technical Preview.
     
  7. jmitcheson

    jmitcheson

    Joined:
    Oct 21, 2016
    Posts:
    96
    Actually... maybe this is an issue with Daydream and nothing to do with Unity? It happens even with Google's own samples. If you look at the Google "Elements" app, "Daydream Renderer" section you can see extensive flickering of the model (I tested this on a Pixel). Hopefully fixed in a driver update or the users will not notice? ....
     
  8. tirichards

    tirichards

    Joined:
    Aug 2, 2016
    Posts:
    10
    This looks like a 'Depth format' setting problem - try setting depth to 24bit under 'Player settings'->'Virtual Reality SDKs'->'Daydream'
     
  9. TimeWalk-org

    TimeWalk-org

    Joined:
    Nov 3, 2014
    Posts:
    38
    tirichards had the answer: 24bit fixed the problem on my system!
     
    Cenda likes this.
  10. Cenda

    Cenda

    Joined:
    Jun 3, 2010
    Posts:
    66
    it solved my problem, but performance is very bad :( (Lenovo Mirage Solo)