Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Flitting textures with ARKit on iPhone 8

Discussion in 'AR' started by tylernm, Oct 3, 2017.

  1. tylernm

    tylernm

    Joined:
    Sep 6, 2017
    Posts:
    1
    I have an issue with my ARKit Unity app on iphone 8/8Plus where the textures seem to be moving around while rendering a model. This doesnt happen on iphone 7/7Plus. I'm wondering if this is an ARKit issue or a Metal issue. I've attached a video. Anyone seen this before? I'm using iOS 11.0.1 and Unity 2017.1 and the bitbucket head of unity-arkit as of today.

    Thanks.

     
  2. jimmya

    jimmya

    Joined:
    Nov 15, 2016
    Posts:
    793
    Is there something special with the model? Does it occur with any model and any material?
     
  3. beer_zealot

    beer_zealot

    Joined:
    Sep 26, 2017
    Posts:
    1
    So the geometry of the dress is two sided and very thin. I believe there is some z fighting happening. Since this doesn’t happen on iPhone 7, I’m left thinking that there is a loss of floating point precision in the graphics api (metal 2)
     
  4. christophergoy

    christophergoy

    Joined:
    Sep 16, 2015
    Posts:
    735
    This was fixed and back ported to 5.5. Please update to the latest patch release of unity that you are using. It was a fast math issue in the shaders that was expressed by the new hardware.