Search Issue Tracker
Not Reproducible
Votes
0
Found in
6000.0.54f1
6000.1.12f1
6000.2.0b10
6000.3.0a2
Issue ID
UUM-111775
Regression
No
Unexpected flex-box behaviour when using non-trivial Visual Element hierarchy
How to reproduce:
1. Open the “IN-107984“ project
2. From the Project window open the "DynamicLayoutExample2.uxml" UI Document
3. Observe
Expected result:
- "ContentBox1" VisualElement shrinks when document size is reduced
- In "ContentBox2" the "ContentRight" VisualElement does not exceed parent element border
- "ContentBox3" VisualElement encapsulates the "ContentRight" VisualElement
- In "ContentBox4" the "ContentRight" VisualElement does not exceed parent element border
Actual result:
- "ContentBox1" VisualElement does not shrinks when document size is reduced
- In "ContentBox2" the "ContentRight" VisualElement exceeds parent element border
- "ContentBox3" VisualElement does not encapsulate the "ContentRight" VisualElement
- In "ContentBox4" the "ContentRight" VisualElement exceeds parent element border
Reproducible with: 6000.0.0b13, 6000.0.54f1, 6000.1.12f1, 6000.2.0b10, 6000.3.0a2
Reproducible on: macOS 15.5 (M1 Max), Windows 10
Not reproducible on: no other environments tested
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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Resolution Note:
In this case, I believe re-adjusting the CenterBox fixed the issue.