Search Issue Tracker
Fixed
Fixed in 2021.3.21f1, 2022.2.10f1, 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
-
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
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Resolution Note (fix version 2023.1.0a5):
Fixed applied in UUM-6133 addressed this bug as well.
Resolution Note (fix version 2022.2.10f1):
Fixed the prefab mode sorting when a canvas component is being added to an UI component.
Resolution Note (fix version 2021.3.21f1):
Fixed the prefab mode sorting when a canvas component is being added to an UI component.