Steps to reproduce:
- Create or open any Unity project
- Create a Canvas
- Add a UI Image as a child of the Canvas and remove its Image component
- Add a Vertical Layout Group component and enable both Control Child Size options
- Add a Content Size Fitter component and set both Horizontal Fit and Vertical Fit to Preferred Size
- Add a Text - TextMeshPro object as a child
- Add another UI Image as a child, remove its Image component, and add a Horizontal Layout Group component
- Select the parent object and observe the result
Actual result: The parent’s width becomes 0, causing the text to wrap one character per line
Expected result: The parent retains the text’s preferred width, and the text remains on one line
Reproducible with: 6000.6.0a6, 6000.6.2f1, 6000.7.0b2, 7000.0.0a1
Not reproducible with: 6000.0.0f1, 6000.0.84f1, 6000.3.25f1, 6000.6.0a5
Reproducible on: Windows 11
Not reproducible on: No other environments tested