Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X

Votes

0

Found in

2021.3.41f1

2022.3.39f1

6000.0.12f1

Issue ID

UUM-76744

Regression

No

ScrollRect.velocity gets set to 0 when the initial value is set before the first frame in Start()

--

-

Reproduction steps:
1. Open the attached “rect.zip” project
2. Open the “SampleScene” Scene (Assets > Scenes)
3. Enter the Play mode
4. Observe the Console and the Game view

Expected result: The “2nd frame velocity” value is around 295-300 and the cyan rectangle moves towards the “Expected Stop Position”
Actual result: The “2nd frame velocity” value is close or equal to 0 and the cyan rectangle barely moves from initial position

Reproducible with: 2021.3.41f1, 2022.3.39f1, 6000.0.12f1

Reproducible on: Windows 11
Not reproducible on: no other environment tested

Notes:
- Clicking “ResetPosition and Velocity” or “Restart Scene” buttons in the Game view, shows the expected result
- Does not reproduce if the velocity is set after the first frame

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.