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
- Static constructor in a struct returns false when running tests with IL2CPP
- Console throws warnings and a MissingReferenceException error for XR packages when doing a clean project import
- [Linux][IL2CPP] Dedicated server crashes when calling Socket.Send
- [2D URP] Documentation link on 3D Renderer Data doesn't work
- Depth is not rendered in a depth-only camera which is set up by a custom script
Add comment