Hello Guest

Author Topic: TileMap layers reverting to Layer = 'Default' on re-commit  (Read 4439 times)

hemdanw

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 11
    • View Profile
TileMap layers reverting to Layer = 'Default' on re-commit
« on: February 17, 2013, 12:36:54 am »
Hi,

I ran into a problem where TileMap colliders  were not working. After some investigation I discovered that my TileMap layers were reverting back to Layer = 'Default' after being edited and re-committed.

I need the ability to set the TileMap Layer and it's corresponding Tile Map Render Data + children layers all to Layer = 'Walls' to fine control collision behavior. Any chance this will be fixed soon.

I am using 2D Toolkit v1.91 beta 1 with Unity v4.0.1f2.

Thanks,
   hemdanw

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: TileMap layers reverting to Layer = 'Default' on re-commit
« Reply #1 on: February 17, 2013, 08:07:02 pm »
Where do you set the layer? If you set it up in the tilemap layer settings, then it should remember it. It won't remember it if you select your layer object and switch it in Unity, as all these objects are rebuilt...