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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment