Search Issue Tracker
Fixed in 2022.2.X
Votes
9
Found in
2018.4
2019.4
2020.3
2020.3.2f1
2021.1
2021.2
Issue ID
1331988
Regression
No
Nested Canvases with Override Sorting enabled will not sort correctly until closing and reopening the project
How to reproduce:
1. Create a new Unity project
2. Add a Canvas to the Scene
3. Create a child Inherit Canvas with Override Sorting enabled
4. Create a child Image and add a Canvas component with Override Sorting to it
5. Set the Image color to red
5. Create another child Image and add a Canvas component with Override Sorting to it
6. Set the Sorting Order to 1
7. Enter Play Mode
Expected result: You see a White Image
Actual result: You see a red Image
Reproducible with: 2018.4.34f1, 2019.4.25f1, 2020.3.6f1, 2021.1.5f1, 2021.2.0a15
Workaround: Update the red Image Override Sorting via code
Notes:
1. This only reproduces the first time this setup is created. If you close and reopen the project the Images render correctly
2. If you disable and enable the parent Canvas or change the sort order in Playmode the issue is fixed
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX/Timeline] Wrap Mode Loop is only playing VFX once
- Package Manager doesn't start on Windows 7
- [HDRP] [DXR] Shadowmatte doesn't support RT shadows
- [HDRP] TAAU@100% and TAA produces different results
- [HDRP] APV debug mode Validity Over Dilation Threshold doesnt take touchup volumes in account
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a1