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
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
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.