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
- Crash on UnityEngine.UI.RawImage:OnPopulateMesh when playing Raw Image Texture animation with Sprite keyframes
- 32bit floating point RenderTexture blending feature is not available for WebGPU
- "CommandBuffer: temporary render texture not found while executing" warning is shown when Compatibility Mode is enabled and Camera stacking is used
- NotImplementedException is thrown when using System.String.Replace(String, String, Boolean, CultureInfo)
- “Label” name in Sprite Library Editor window lacks character limit causing long names go under the Object Field
Add comment