Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Incorrectly Displayed Tiles (overlapping layers)

Discussion in 'Scripting' started by xjjon, Jul 2, 2020.

  1. xjjon

    xjjon

    Joined:
    Apr 15, 2016
    Posts:
    610
    I am having some trouble with these tilemaps where when playing on certain mobile devices there is some overlapping of the tile maps and they are being displayed incorrectly.

    I am using two tilemap layers


    1) background (order in layer: 0)
    2) foreground (order in layer: 1)

    The checkerboard is the background, and the red tiles is layered on foreground.

    They are all placed at position (0,0,0)

    In the editor they look as expected, but on certain mobile device they are rendering incorrectly
    overlap-tear-tiles.png