Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

URP 30fps problem

Discussion in 'General Discussion' started by polysoft3D, Nov 26, 2020.

  1. polysoft3D

    polysoft3D

    Joined:
    Aug 3, 2015
    Posts:
    29
    Hello!
    I have problem with URP on 2019.4.15f1
    My build is locked at 30fps with URP, but 60fps with Legacy(Standard) .
    I use Vsync Every V blank.

    Same scene , same player settings


    NVIDIA settings
    max fps off or 60pfs lock no difference

    Ok very bad performance on URP
    no point light shadow, disable post processing, no volumetric light big drops from 58 to 30!

    Legacy
    point light shadow on, post processing (bloom, SSAO, vignette, color grading, TAA), volumetric lighting on and i have 80-65 fps on my GTX 750ti !!! How its possible ?

    Ok SSAO drop my fps on URP
     
    Last edited: Nov 26, 2020
  2. ShilohGames

    ShilohGames

    Joined:
    Mar 24, 2014
    Posts:
    3,015
    Disable V-sync. V-sync does not always work as expected.

    With V-sync disabled using Unity 2019.4 with URP, I get up to 300 FPS in Allspace. This is with an RTX 2080ti video card.
     
    Last edited: Nov 27, 2020
  3. ShilohGames

    ShilohGames

    Joined:
    Mar 24, 2014
    Posts:
    3,015
    With V-sync enabled in game, your frame rate will fall to the next ratio when it cannot meet the target. So if you are trying to V-sync at 60 Hz and your old PC is struggling, then V-sync will cause your game to slow down to 30 FPS. If you cannot deliver 30 FPS, V-sync will slow you down to 15 FPS. Disable V-sync and retest to see what your performance would be normally without V-sync interfering.
     
  4. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,549
    You can also set framerate procedurally, i.e.
    Application.targetFramerate = 60;
    . Set to -1 for default behaviour.