Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.6.0f3
Issue ID
905518
Regression
Yes
overrideSorting property is not set if an object was parented to a Canvas and a Canvas component was added to it
If the game object was first parented to a Canvas and then the Canvas component was added to it, the overrideSorting property cannot be set. However, if the Canvas component was added to the object before parenting it to another Canvas, overrideSorting property will be set properly.
To reproduce:
1. Open the project, attached by the tester (overrideSortingBug.zip)
2. Open the "scene" scene
3. Enter Play mode
4. Observe the "new Canvas" game object's Canvas component, overrideSorting will be false (should be true)
Expected: overrideSorting property is set properly with any order of operations
Reproduced in 5.6.0f1, 5.6.0f3
Did not reproduce in 5.5.4f1, 5.6.0b11, 5.6.1f1, 5.6.2p2, 2017.1.0f2, 2017.2.0b2
Regression introduced in 5.6.0f1
Fixed in 5.6.1f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Articulation Body" fails to move the GameObject when the "XDrive's" "Target" value is set in animation
- [HDRP] HDRP Look Dev has no button leading to the documentation
- [Android] Artifacts appear when instantiating a prefab on a PowerVR Rogue GPU device
- Skinned Mesh Renderer with enabled 'Skinned Motion Vectors' flickers when Ray Tracing with Screen Space Global Illumination is used
- [HDRP] "Show on start" checkbox is too close to the window border and is not aligned with the other elements
Add comment