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
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
- Low FPS in the Game View when the Editor window loses focus
- Memory leak when a domain is reloaded on a Scene that uses HDRP's water simulation resources
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.