Unity Issue Tracker - ScrollView doesn't expand when elements are added in Play Mode
Fixed
UUM-64521
ScrollView doesn't expand when elements are added in Play Mode
Unity: UI Toolkit Framework
Fixed
6.2.X
6.1.X
6.0.X
Won't Fix
2023.2.X
2022.3.X
2021.3.X
2023.2 is no longer a supported version of Unity. Please see corresponding 6000.0+ port instead
This bug has been fixed on all latest releases of Unity 6. To avoid adding instability, and because this bug is not considered critical, It will not be backported to this LTS version of Unity.
This bug has been fixed on all latest releases of Unity 6. To avoid adding instability, and because this bug is not considered critical, It will not be backported to this LTS version of Unity.
How to reproduce:
1. Open the attached “rootbug.zip“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter Play Mode
4. Press the “Add“ button in the Game view
Expected result: The ScrollView expands when the elements are added
Actual result: The Scrollview doesn’t expand when the elements are added
Reproducible on: macOS 14.2.1 Sonoma (Intel)
Not reproducible on: No other environment tested
Notes:
Also reproducible in Player
The ScrollView expands if the Aspect is changed to fit more ScrollView elements onto the screen at once (when this is done, the ScrollView expands to show all the added elements, but the ScrollView doesn’t keep expanding if even more elements are added)
Thos also occurs in project tab of Library pane in UI builder. Scrolling works only after collapsing/expanding folder.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?