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
- [Android] FPS does not match the targeted FPS when it is set with Application.targetFrameRate
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of Play Mode
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
Add comment