Search Issue Tracker
Fixed in 4.6.X
Votes
3
Found in
4.6.0b17
Issue ID
627639
Regression
No
Horizontal Layout Group does not work correctly on the ScrollView
To reproduce this bug:
1. Open the attached project
2. Open ScrollView scene
2. Expand the Canvas/Window/Content/ScrollView/Content
3. Notice Content having Horizontal Layout group
4. Set spacing to some value ( for example 200 )
5.At design time, the grid works correctly, the objects are spaced
6.Play
7.At runtime the child objects all rest to the corner with a position of 0,0
More Notes:
If I disable the Horizontal Layout Grid, the children do not reset their position on play.
If I remove / add objects to the container the size of the container does not change
The size of the container should reflect its children
If I disable then reenable the Layout Grid, it works.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
Add comment