Hello, with the changes of unity 2017, the order in layer works perfectly according to the position of the Z axis. However, for very small values it still does not work … Is there any way to solve this without using order in layer?
Are these gameObjects just rendered using a Sprite Renderer? If so are you setting “Sorting Layer” and “Order in Layer”? Don’t quote me on this but I think that Unity uses these properties to determine draw order for objects that are on the same (or approximately the same) location on the z-axis.
In this version, they made the position of the z axis take care of that. It works very well, except for this case I quoted.
You should use sorting layers and order in layer whenever possible, the only time I use the z axis is when i have to sort objects on the same order of the same layer in which case i’ll sort them by whole numbers.
