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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Add comment