I have an issue with a vertical group layout. It is a child of an empty parent, lets name it scrollObject, that consist of a scroll rect, layout element and a rect mask. Scroll object initself is a child of a vertical layout group, therefore it has a layout element preferred height set to 900. So the vertical group layout object has the group object, content fitter(set up for preferred height) and a layout element to fit the size in width. The issue that when any objects are added to the group, they all appear in a small box, which is the starting size of the object and can not be altered.(If thee layout element preferred or minimum height are changed, then the scroll doesnt work) But when any interactions are made to the children(I have a button in them), the height adjusts correctly. So how is it possible to fix?
If you observe the inspector closely, you’ll see that combining layout groups with content size fitters triggers a warning. It’s technically not supported to mix those components, as you’re seeing. The way to fix it is to eliminate one or the other unfortunately.
"It’s dangerous to go alone! Take this "