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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Add comment