Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question FPS drops when using URP rendering

Discussion in 'Editor & General Support' started by slamph_core, Dec 2, 2023.

  1. slamph_core

    slamph_core

    Joined:
    Apr 20, 2023
    Posts:
    12
    Good day. While developing a project on URP renderer, I encountered the problem of constant FPS drops. Moreover, this does not depend on the scene. On a completely empty scene and on a scene with game objects, the result is the same. In the profiler, these FPS drops are not displayed in any way. They can only be seen directly by eye.

    This happens exactly on the URP renderer, even in the compiled game. I’ve never seen anything like this on a built-in render.

    I have attached the project settings and links to the video where you can see these FPS drops.













    Unity version: 2021.3.9f1
    What could be the problem?
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,129
    That seems to indicate an issue with the device.
    Did you try restarting?

    For mobile I would not disable vsync. Don‘t know what they do in that case, vsync may be forced regardless anyway.

    You are on a very old patch level. Current is 33f1 I think.


    Side note: if the first video is intended for Asset Store promo: for that purpose it‘s bad. It takes 20+ seconds before at least some action starts, and then it lulls around. Booooring! Promo vids do far better with snappier editing. ;)
     
  3. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,884
    Next to the comment from CodeSmile, there are some settings that will hurt performance.

    - screen space ambient occlusion, check the docs to see if you should use depth or dbuffer. Also check after opaque and maybe downsample.
    - realtime relfection probes
    - technically using Vulkan with graphics jobs could help if it's a CPU issue
    - HDR, is that really needed on your device?
    -