Search Issue Tracker
By Design
Votes
0
Found in
4.6.0b10
Issue ID
615678
Regression
No
uGUI object and Sprite Renderer rendering order is wrong
This is related to how canvas rendering works. For each canvas we basically generate one 'batch'. In the example you have sent there is a sprite renderer under a canvas. Currently this does not go through canvas rendering and as such will be either infront or behind depending on the canvas z / sprite z.
What we will do is expose the sorting layer on the canvas, but it's not a good solution for sprites ON a canvas... more for sorting canvases you may have in a 2d game.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment