Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Runtime tiles on isometric tilemap only appear when camera's Z is changed

Discussion in '2D' started by charles-everyrealm, Aug 5, 2022.

  1. charles-everyrealm

    charles-everyrealm

    Joined:
    Jun 30, 2022
    Posts:
    11
    Hey all, I'm painting on an isometric tilemap at runtime, however the painted tiles only appear in the game view after I moved the camera's Z axis and I have no idea why. Is this a bug? Has anyone else seen this?
     
  2. charles-everyrealm

    charles-everyrealm

    Joined:
    Jun 30, 2022
    Posts:
    11
    Turns out this was caused by using the Z of the world position when I only needed the X and Y when converting to a cell.