Search Issue Tracker
Fixed in 2022.1.X
Votes
1
Found in
2018.4
2019.4
2020.3
2021.1
2021.2
2021.2.0a21
2022.1
Issue ID
1345471
Regression
No
Grid Layout Group Constraint Count set to "4" not working when Constraint is set to Fixed Row Count and Start Axis to Horizontal
How to reproduce:
1. Open the attached project "repro.zip"
2. Open Assets/Scenes/SampleScene.unity
Expected result: The Buttons in the Canvas are aligned in 4 rows
Actual result: The Buttons in the Canvas are aligned in 3 rows
Reproducible with: 2018.4.36f1, 2019.4.29f1, 2020.3.14f1, 2021.1.14f1, 2021.2.0b4, 2022.1.0a2
Notes: Setting Start Axis to Vertical solves the issue
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
- Tilemap.SetTile() does not change the tiles when called from Update() in the Player
- Custom Shader Material is pink when the project is built for the WebGL platform
- New 3D URP Sample Scenes Project is created with an invalid dependency on com.unity.render-pipelines.universal-config when creating the Sample Project for the first time
- Canvas Scaler causes abnormal scaling of Canvas elements in Play Mode when UI Scale Mode is set to "Constant Physical Size" and any Editor window is moved to a differently scaled monitor and is interacted with
- Touch.rawPosition always returns (0,0) when clicking or dragging anywhere on the screen in the Play Mode
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a4