Search Issue Tracker

Active

Votes

0

Found in

2021.3.44f1

2022.3.50f1

6000.0.23f1

Issue ID

UUM-83769

Regression

No

Scroll bar fails to resize when content is dynamically removed in Player or Play Mode

--

-

Reproduction steps:

1. Open the attached project “ScrollBarTest.zip“
2. Open the “SampleScene“
3. Enter Play Mode
4. In the Game view, scroll with the scrollbar to the bottom of the “Scroll View” GameObject
5. In the Hierarchy Window, in the “Scroll View” → “ViewPort” → “Content” delete at least 4 Image GameObjects
6. Observe the result

Expected result: The scroll bar has re-adjusted its size according to the amount of objects present in the “Content” child GameObject of the “Scroll View”
Actual result: The scroll bar remains scrollable but scrolling has no effect on the “Scroll View”

Reproducible in: 2021.3.44f1, 2022.3.50f1, 6000.0.23f1

Reproducible on: MacOS 14.6.1 (M1 Pro), Windows 10, Windows 11 (user)

Notes:

* Ensure the Scroll View is scrolled to the bottom before deleting GameObjects
* For more obvious result, try to delete at least 6 Image GameObjects
* Also reproducible in Player

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.