2D Toolkit Forum

2D Toolkit => Support => Topic started by: yanivp on February 11, 2015, 09:08:02 am

Title: Bug: Sorting Layer changes automatically
Post by: yanivp on February 11, 2015, 09:08:02 am
Hi,
I started using Unity sorting layers in our game and for technical reasons I needed one layer below the "Default" layer.
Ever since I did that every time I click on a game object in the editor with a sprite attached it reverts automatically to the lowest layer (the one below "Default"). Unless I set it to the correct layer through code I am unable to select the layer I need.

I believe this is a bug...

Please help :)
Title: Re: Bug: Sorting Layer changes automatically
Post by: unikronsoftware on February 11, 2015, 10:51:16 am
What version of 2D Toolkit, Unity are you using?
Title: Re: Bug: Sorting Layer changes automatically
Post by: yanivp on February 12, 2015, 08:44:44 am
Unity 4.6.1p4 (I can't upgrade to 4.6.2 at the moment due to some bugs in that release)
2D Toolkit 2.5.0

This has been happening when I was on Unity 4.6.1 and 4.6.2 as well
Title: Re: Bug: Sorting Layer changes automatically
Post by: unikronsoftware on February 12, 2015, 09:20:33 am
I've been testing in 4.6.2 and I can't see this happen. Post a repro project, please, or exact steps to reproduce