2D Toolkit Forum

2D Toolkit => Support => Topic started by: ThiagoVT on December 11, 2013, 05:56:08 pm

Title: Layer order Problem on Unity 4.3
Post by: ThiagoVT on December 11, 2013, 05:56:08 pm
Hi! my sprites changes the order position before I change the scene (load a new scene), all sprites are the same layer and sorting layer...

but if  I drag one front than other one and the next scene the same sprite is back the oder one...

ex:

sprite 1 dragged on scene
sprite 2 dragged on scene and appear in front sprite 1
next scene
sprite 2 sprite 2 is back
sprite 1 sprite 1 on front than sprite 2...

I'm using DontDestroy to maintain the objects for the next scene...

please help-me this problem doesn't occur on the old version...

Title: Re: Layer order Problem on Unity 4.3
Post by: unikronsoftware on December 11, 2013, 10:32:06 pm
What is the sorting order / z values in the other scene? This should work fine, unless something is changing the sort order. If you can't get it to work, create a repro case and send to support at unikronsoftware.com.
Title: Re: Layer order Problem on Unity 4.3
Post by: ThiagoVT on December 12, 2013, 01:06:15 pm
sorting order / z?? are you mean layer order or order in layer??
Title: Re: Layer order Problem on Unity 4.3
Post by: unikronsoftware on December 12, 2013, 03:15:19 pm
That, and the z values.
Title: Re: Layer order Problem on Unity 4.3
Post by: ThiagoVT on December 12, 2013, 06:05:04 pm
the z values are same and I'm not changing this values after the sprite born scene
Title: Re: Layer order Problem on Unity 4.3
Post by: unikronsoftware on December 12, 2013, 11:57:21 pm
I'm not sure what else to suggest. I'll be happy to take a look if you can create a repro case and email to support.