Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Tile Map Strange behaviour painting prefabs

Discussion in '2D Experimental Preview' started by SuperNoctiz, Oct 23, 2016.

  1. SuperNoctiz


    Jan 24, 2014

    I'm trying to use the tile map to paint some prefabs, like coins or a portal in this case, but it's happening something weird.
    So, I created a tile asset, added a sprite to it and then added the prefab I wanted.
    And when I try to paint it in the grid, the prefab is instantiated out of place from where it should be:

    Why is this happening? Is it a bug or am I doing something wrong?

    Thank you.
  2. lothlorientos


    May 20, 2014
    Same problem with me. I resolved it by removing sprite from the prefab and having the tile sprite. The other thing is that I tried to add a tile collider in the prefab but didn't seem to work (not sure if I did something wrong though). Also when I added a box collider instead in the prefab it got missplaced again just like the sprite problem from before.