Search Unity

  1. New Unity Live Help updates. Check them out here!

    Dismiss Notice

Terrain Terrain rendering issue on iOS, please help

Discussion in 'World Building' started by bitinn, Mar 24, 2020.

  1. bitinn

    bitinn

    Joined:
    Aug 20, 2016
    Posts:
    611
    Hi all,

    So I am looking at a very strange Terrain rendering issue that only appear on iOS Metal (not on macOS Metal, not on Android Vulkan, not on Windows DirectX), it looks like this if we strip the scene down to its terrain:

    IMG_0100.jpg

    I am completely bewildered by why there are random holes in the terrain mesh; we are using the built-in pipeline with default unity terrain shader, this issue only appears on iOS.

    Any clue on what on earth might be happening here? The holes even flicker for some reasons, as if some vertices are getting offset by something constantly.
     
  2. bitinn

    bitinn

    Joined:
    Aug 20, 2016
    Posts:
    611
    To add, this only happens if I enable "Draw Instanced" on terrain for iOS.
     
  3. bitinn

    bitinn

    Joined:
    Aug 20, 2016
    Posts:
    611
    The more I look at this Draw Instanced issue the more it feels like a bug, so I submitted one: case 1230409, if anyone from Unity can take a look at my sample, I would be grateful!
     
unityunity