Hello Guest

Author Topic: Bug: Sorting Layer changes automatically  (Read 3915 times)

yanivp

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 5
    • View Profile
Bug: Sorting Layer changes automatically
« 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 :)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Bug: Sorting Layer changes automatically
« Reply #1 on: February 11, 2015, 10:51:16 am »
What version of 2D Toolkit, Unity are you using?

yanivp

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Bug: Sorting Layer changes automatically
« Reply #2 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

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Bug: Sorting Layer changes automatically
« Reply #3 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