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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment