Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.2.X
Votes
0
Found in
Issue ID
1285420
Regression
Yes
Time.deltaTime issues on secondary monitor in windowed mode.
Time.deltaTime is messed up when running in windowed mode on a secondary monitor which has a refresh rate that's not multiple of the primary monitor.
Discussion in forums: https://forum.unity.com/threads/time-deltatime-not-constant-vsync-camerafollow-and-jitter.430339/page-8#post-5756392
To repro:
1. Get a setup with 144 hz primary monitor and 60 hz secondary monitor, running Windows 10 version 1909 or older (DOES NOT REPRODUCE ON NEWER VERSIONS LIKE 2004)
2. Run the game in windowed mode on a secondary display with vsync enabled
3. Note the follow delta time values:
0.0138902
0.013888
0.0208355
0.013887
0.0208334
0.0138903
0.0138906
0.0208333
0.0138898
0.0208331
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mouse device is disabled in Play Mode when the "Device Simulator" tab is present as an inactive tab and Game view is not maximised
- GameObject with the Visual Effect Component is not rendered in the Scene view when it is reenabled in the Inspector and the Play mode is paused
- Prefab icon blends in when selected in Project window with the Light Editor theme enabled
- Textures from other Sprites in the Assets leak into Sprite Renderer Sprites when Sprite Atlas v2 is used
- Errors “UI Error: Invalid GUILayout state in TestRunnerWindow view“ and “ArgumentException: An item with the same key has already been added“ are present when running tests with names that duplicate after truncation in the Test Runner window
Add comment