Search Unity

Resolved Game View stuck at 60 fps regardless of settings

Discussion in 'Editor & General Support' started by baumxyz, Apr 20, 2023.

  1. baumxyz

    baumxyz

    Joined:
    Mar 31, 2017
    Posts:
    107
    Hello,

    I'm using Unity 2021.3.22f1 with URP. No matter what I do, my framerate in the editor in game mode is limited to 60 fps when I have two monitors connected and 72 fps when I only use one.

    The target platform of my game is Windows. In the quality settings, I have set Vsync to 0. I have also executed the following code for testing:

    Code (CSharp):
    1. QualitySettings.vSyncCount = 0;
    2. Application.targetFrameRate = 300;
    And also:

    Code (CSharp):
    1. Application.targetFrameRate = -1;
    No matter what I set, I always have a constant 60 or 72 fps.

    My two monitors are set to 165 Hz @ 1440p via the NVIDIA Control Panel.

    In the game view, I have also disabled Vsync in the "resolutions and aspect ratios menu" at the top.

    In addition, I have forced Vsync off in the NVIDIA Control Panel and tested setting the maximum framerate to 165 for Unity.exe.

    What else can be done?

    Thank you in advance!

    Edit:

    My specs:
    - Windows 10 (22H2 Build 19045)
    - AMD Ryzen 9 5900X
    - RTX 3080
     
  2. baumxyz

    baumxyz

    Joined:
    Mar 31, 2017
    Posts:
    107
    I have fixed the issue. I had to adjust the other quality levels as well so that VSync is set to "Don't sync":

    Screenshot 2023-04-21 112658.png

    Even though I was only using Quality Level "Ultra" and had already set it to "Don't Sync" all the time:

    Screenshot 2023-04-21 113111.png

    Anyway, now I am achieving higher framerates as well.