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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
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.