Hello,
I just updated from toolkit version 2.2.x to 2.3.0 and distant objects started to appear on top of closer ones. It seems that 'Order in Layer' definitions in my tk2dSprites might be causing this.
I've used this ordering feature to define which sprites are drawn on top of each other when they have the same Z-value. For example right hand and right leg of a zombie have higher value than torso, so that they appear on top.
This has worked fine with the old version. Now it seems that sprites with higher 'Order in Layer' value are always drawn on top of sprites with lower value, even when they are not on same Z. Actually the overdrawn sprites can be a lot closer to the camera.
--
int SortingOrder [get, set]: Gets or sets the sorting order The sorting order lets you override draw order for sprites which are at the same z position. It is similar to offsetting in z - the sprite stays at the original position. This corresponds to the renderer.sortingOrder property in Unity 4.3.
--
Attached is a screenshot where you can see the problem and 3d version of the same scene. Sorting order of zombie left hand is zero and they are not drawn on top of the menu window but other parts with higher sorting order are (altough they're some 5 units deeper in the scene).
Best regards,
Tomi Tukiainen