Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2018.4.24f1
2019.4
2020.1
2020.2
Issue ID
1262342
Regression
No
The Velocity of the scroll rect has been set to the the scroll position has been procedurally set after content resize
How to reproduce:
1. Open attached project "ScrollRectRepro.zip" and scene "SampleScene"
2. In Hierarchy window, select "Content" object (Canvas -> Scroll View -> Viewport -> Content)
3. Enter Play mode
4. In Game View, on transparent background, click and drag the mouse down
5. In Scene View, observe the expanded "Content" object gizmo size
Expected result: the size of the "Content" is expanded the amount dragged
Actual result: the size of the "Content" is expanded by a lot
Reproducible with: 2018.4.25f1, 2019.4.4f1, 2020.1.0b16, 2020.2.0a18
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
Resolution Note (2020.2.X):
Issue is with User Project
On OnScrollChanged user is calling a Coroutine SimulateDataRequest in which they are generating the random number between 800 to 1000 and UpdateContainerSize so the size of the Content is expanded by a lot
To fix the user reported issue they should send amount dragged to Coroutine and call UpdateContainerSize accordingly.