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. The 2022.2 beta is now available for testing. To find out what's new, have a look at our 2022.2 feature highlights.
    Dismiss Notice
Dismiss Notice
Submit bug reports tagged with #Beta2022Win_Unity when you encounter unknown issues while testing the 2022.2 betas for a chance to win a year of Unity Pro. For more information, have a look at our Beta Sweepstakes Announcement.

Strange behaviour painting prefabs

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

  1. SuperNoctiz

    SuperNoctiz

    Joined:
    Jan 24, 2014
    Posts:
    20
    Hello,

    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

    lothlorientos

    Joined:
    May 20, 2014
    Posts:
    32
    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.
     
unityunity