Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2018.2.0a1
2018.3.0b4
Issue ID
1099068
Regression
Yes
[Windows] Application.targetFramerate is ignored when Time.captureFrameRate is set
If Time.captureFrameRate is set to > 0 in GenLockSync class, the actual frame time is as fast as possible, ignoring the targetFrameRate value set
To reproduce:
1. Download project "TargetFrameRate_2018.2.12f1.zip" and open in Unity
2. Open "SampleScene" scene
3. Build & Run on Standalone
4. Observe results
Expected Result:
Capture Rate : 50, Target Frame Rate 50
System delta, expected: 20.000ms, actual [~20ms +- 0.2]
Unity delta, expected: 20.000ms, actual 20.000ms
Actual Result:
Capture Rate : 50, Target Frame Rate 50
System delta, expected: 20.000ms, actual [00.500 - 04.000 ms, depending on machine]
Unity delta, expected: 20.000ms, actual 20.000ms
Notes:
- This issue appears only on Windows
- This issue does not reproduce on macOS
Reproduced on Unity 2018.2.0a1, 2018.2.16f1, 2018.3.0b10 and 2019.1.0a9
Not reproduced on Unity 2018.1.9f2
Regression on Unity 2018.2.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment