2D Toolkit Forum

2D Toolkit => Support => Topic started by: hemdanw on February 17, 2013, 12:36:54 am

Title: TileMap layers reverting to Layer = 'Default' on re-commit
Post by: hemdanw 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
Title: Re: TileMap layers reverting to Layer = 'Default' on re-commit
Post by: unikronsoftware 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...