Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.2.12f1
2018.3.0a1
2019.1.0a1
Issue ID
1097253
Regression
No
Canvases nested within each other that are using Override Sorting sorts incorrectly
1. Download and open user's attached project 'CanvasTest.zip'
2. Open the Scene called "Loading"
3. Find Black50% Image and set its alpha to 255 to be fully opaque
4. While Unity is Playing if you Disable and Enable the TemplateCanvas it draws incorrectly, the Blue rectangle(Sort Order 3) sorts over the Black50% rectangle(Sort Order 100)
5. If you then change the Sort Order of TemplateCanvas to any negative value and back to 0, it fixes the sorting order.
Actual result: The Blue rectangle sorts over the Black50% rectangle.
Expected result: The Blue rectangle doesn't sort over the Black50% rectangle which has a higher sorting order value
Reproducible with: 2017.4.17f1, 2018.3.1f1, 2019.1.0a13
Note: If you move the Blue GameObject so it's a child of Content instead of Yellow(Override Sorting -> Sort Order 1) and then Play the scene it draws correctly.
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (2019.2.X):
Low priority defect for the moment. This bug is unlikely to be fixed in the near future.