Search Issue Tracker
Fixed
Votes
1
Found in
3.5.0f1
Issue ID
440186
Regression
No
Application.targetFrameRate inconsistent with documentation
According to docs: "targetFrameRate is ignored in the editor".
In practice:
- it works in the editor as long as vsync is off
- once set, it keeps its value until reset again
Repro:
- switch off vsync in current platform's quality settings
- set a frame rate from script:
function Awake () { Application.targetFrameRate = 20; }
- play, notice the setting takes effect (FPS==20)
- stop, comment out the script
- play, notice the setting is still on (FPS==20)
Expected:
- either expose targetFrameRate as a setting (and change docs) or disable it in the editor
Not a regression, same behaviour in 3.4.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Camera.current returns null when Camera.targetTexture is set to null in OnPostRender
- Crash on BaseHierarchyProperty::Next when opening a specific project
- Shader Compilation for projects with lots of Shaders can be slow (i.e. VFX Graph asset heavy projects)
- The Editor hangs when opening a project that uses local packages and Version Control
- Area Light is culled when Camera Frustrum is outside the lights range
Add comment