Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

not enough tiles are drawn at the border for hexagonal tilemaps

Discussion in '2D Experimental Preview' started by FrankBuss, Oct 3, 2016.

  1. FrankBuss

    FrankBuss

    Joined:
    Dec 22, 2014
    Posts:
    55
    When I use hexagonal tilemaps, sometimes at the borders the background is visible. This bug is worse when I rotate the tilemap by 90°. See this video for a demonstration of the bug (my script moves the camera position on mouse drag and changes the orthographic size on mouse wheel) :

     
  2. danbrani

    danbrani

    Joined:
    Nov 22, 2012
    Posts:
    46
    I actually have a similar issue with the square grid, the chunk on the right side of the camera disappears while it is still visible. It cuts off a column that's around half the tile size (8px) in my case. I'm not sure what it's caused by, I'm using 2d toolkit in my project. The demos work fine.
     
  3. FrankBuss

    FrankBuss

    Joined:
    Dec 22, 2014
    Posts:
    55
    BTW, the size of my tiles are 32 x 32 pixels.
     
  4. Xelnath

    Xelnath

    Joined:
    Jan 31, 2015
    Posts:
    402
    Might need custom bounds?
     
  5. FrankBuss

    FrankBuss

    Joined:
    Dec 22, 2014
    Posts:
    55
    Where can I set the bounds? But would be good if Unity could figure it out itself.