Search Issue Tracker
By Design
By Design in 2023.1.X
Votes
0
Found in
2022.2.0f1
2023.1.0a21
Issue ID
UUM-21005
Regression
No
UI Content is not shown when opening in custom window
How to reproduce:
1. Open the project "IN_21955"
2. In the menu bar press "UI Repro" -> "Broken"
3. Observe the "Addressables Profiler in Editor" window
Expected result: UI content is shown
Actual result: UI content is not shown
Reproducible with: 2022.2.0f1, 2023.1.0a21
Couldn't test with: 2020.3.42f1, 2021.3.15f1, 2022.1.23f1 (due to compiler errors)
Reproducible on: Windows 10 Pro
Note: to see the expected result instead of "Broken" in "UI Repro" select "Working"
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
In the working example, it works because the content is added directly under the rootVisualContainer, which is set to take all the available space.
In the broken example, it doesn't work because a VisualElement named main-container is introduced as the "root" and is not set to grow. Setting the flex-grow to 1 on that element will give the expected result.
Resolution Note (2023.1.X):
In the working example, it works because the content is added directly under the rootVisualContainer, which is set to take all the available space.
In the broken example, it doesn't work because a VisualElement named main-container is introduced as the "root" and is not set to grow. Setting the flex-grow to 1 on that element will give the expected result.