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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
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.