Search Issue Tracker

By Design

Votes

1

Found in

2021.1

2021.1.28f1

2021.2.0b16

Issue ID

1378453

Regression

No

Player movement lags when VSync is on

Physics2D

-

Reproduction steps:
1. Open the user's attached project
2. Build the project
3. Run the executable
4. Start a new game
5. Press the Escape button to enter the menu and go to Settings
6. Turn on VSync
7. Move with the Player and observe its movement

Expected result: Player moves smoothly when VSync is on
Actual result: Player lags when VSync is on

Reproducible with: 2021.2.0b16, 2021.2.7f1
Not reproducible with: 2020.3.25f1, 2021.2.0b15

Could not test: 2019.4.34f1(Failed to load 'C:/Users/Unity CQA/Documents/Cases/vsync/Assets/Level/level1p3/LightingData.asset'. File may be corrupted or was serialized with a newer version of Unity), 2022.1.0b2(crash on PatchPrefabBackwardsCompatibility)

  1. Resolution Note:

    The use of Rigidbody2D.rotation won't be interpolated, it should be using Rigidbody2D.MoveRotation.

Comments (1)

  1. oscar70701

    Dec 21, 2021 15:42

    This bug working with off Vsync too.

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.