Search Issue Tracker
Fixed in 2021.3.21f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.1.0a5
Votes
2
Found in
2021.1.0a1
2021.1.28f1
2021.2.7f1
2021.3.16f1
2022.1.0b2
2023.1.0a1
Issue ID
UUM-1897
Regression
Yes
UI Element is sorted behind the parent Canvas when the UI Element is created in Prefab Mode and has a Canvas component attached
How to reproduce:
1. Open the user-submitted project
2. In the project window, open the Prefab "Canvas" (Assets/Canvas.prefab)
3. In the Hierarchy window, right-click the GameObject "Button" and select "Duplicate"
4. In the Prefab Mode Scene view, observe the duplicated GameObject
Expected result: The duplicated GameObject is visible
Actual result: The duplicated GameObject is not visible
Reproducible with: 2021.1.0a1, 2021.1.28f1, 2021.2.7f1, 2022.1.0b2
Not reproducible with: 2019.4.34f1, 2020.3.25f1
Comments (2)
-
FreddyC-Unity
Aug 04, 2022 17:38
Yes, it is intended to land on that version. Hope this helps.
-
AtticGamesStudio
Jul 25, 2022 00:13
Will the planned fix be avaliable for 2021.3.X as well?
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 (fix version 2023.1):
Fixed applied in UUM-6133 addressed this bug as well.
Resolution Note (fix version 2022.2):
Fixed the prefab mode sorting when a canvas component is being added to an UI component.
Resolution Note (fix version 2021.3):
Fixed the prefab mode sorting when a canvas component is being added to an UI component.