Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Understanding VSync

Discussion in 'Scripting' started by eco_bach, Jun 2, 2018.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    Hi
    Trying to debug a gradually increasing CPU usage issue.

    Am using the following settings

    QualitySettings.vSyncCount = 0;
    Application.targetFrameRate = 30;

    But when I view the Profiler CPU usage I see that Vsync is occupying the majority of the time for each frame

    Is this normal?

    Profile_capture.JPG
     
  2. Doug_B

    Doug_B

    Joined:
    Jun 4, 2017
    Posts:
    1,596
    Peter77 likes this.