Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

Incorrectly Displayed Tiles (overlapping layers)

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

  1. xjjon

    xjjon

    Joined:
    Apr 15, 2016
    Posts:
    357
    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
     
unityunity