Search Issue Tracker

By Design

Votes

0

Found in

2021.3.20f1

Issue ID

UUM-29467

Regression

No

[2021.3] UI elements lose their position when entering Play Mode, and the “Reverse Arrangement” setting is enabled in the Vertical or Horizontal Layout Group component

-

How to reproduce:
1. Open the user’s attached “first-steps.zip” project
2. Open the “5_ComplexHierarchies” Scene (Assets > Scenes > 5_ComplexHierarchies)
3. Enter Play Mode and observe the UI in the bottom left corner

Expected result: UI doesn’t overlap
Actual result: UI overlaps

Reproducible with: 2021.3.20f1
Not reproducible with: 2022.2.0b8, 2022.2.10f1, 2023.1.0b7, 2023.2.0a5
Could not test with: 2020.3.46f1, 2022.1.0a1, 2022.2.0b7 (Errors after project downgrade)

Reproduced on: macOS 13.2.1 (Intel)

Notes:
Reproducible in the Editor and in the Standalone Player (macOS)
Not reproducible after disabling and enabling the “Reverse Arrangement” setting in the Vertical Layout Group component
Also reproducible with the Horizontal Layout Group component

  1. Resolution Note:

    The game objects that are children of the game object with a Vertical/Horizontal Layout Group have Content Size Fitters in them, which is what's causing the layout issue. The Content Size Fitters have a warning on them mentioning that the parent has a layout group component and therefore it shouldn't be used here as layout should be driven by the layout group. Working as designed.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.