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 RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment