Question by
onurfurkanunal · Apr 18, 2021 at 11:53 PM ·
fpsframeratevsync
when i add Application.targetFrameRate vsync turn on itselft
private void Awake()
{
QualitySettings.vSyncCount = 0;
Application.targetFrameRate = 20;
}
I set don't sync in project settings. There is no problem when I not add vsyncount and targetframerate codes but I want to add max fps and i dont want to turn on vsync. Actually when I add these codes Vsync is working I can see it in unity profiler playmode or editor. Can someone help me ? QualitySettings.vSyncCount = 0; not turn off vsync . Note vsync consuming cpu. Unity2020.1.4f1 windows 10 64bit system
Comment
Your answer
Follow this Question
Related Questions
Editor GameView locked at 60 fps on new project 1 Answer
Can't set the framerate in unity 2d.,can't set the framerate in the editor nor during runtime. 0 Answers
Mouse movement disables Vsync (leading to very bad stuttering) 0 Answers
framerate suddenly drops in iphone 11 pro max 1 Answer
Setting Frame Rate failed. 0 Answers