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. Dismiss Notice

Question unity 2022lts loss fps down in urp

Discussion in 'General Discussion' started by ununion, Jul 31, 2023.

  1. ununion

    ununion

    Joined:
    Dec 2, 2018
    Posts:
    268
    i don't know where to post this, but after my project update from 2021lts urp12 to 2022lts urp14, the render time change from 2ms to 50ms
    i have tried in two computer with 2080 and 3060ti ,both of them has the same problem.
    and 2022lts crash about ten times in one day.
    i have already change the version back.
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,556
    There may be potentially no reason for you to upgrade to 2022, unless you working on mobile aps, or need specific feature.

    Did you try Unity 2022 and URP 12. Or 2021 and URP 14?

    What is the crash log. Or any error messages in editor?
     
    ununion likes this.
  3. ununion

    ununion

    Joined:
    Dec 2, 2018
    Posts:
    268
    the reason for urp14 is forward+
    crash is not important,but the fps loss is unacceptable.
    :)
     
  4. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    3,899
    What‘s the profiler saying? You could even do a old vs new direct comparison.

    I‘ve had the pleasure of using 2022.3 Forward+ for WebGL and was amazed it maxed out at 120 fps even with full postprocessing and 8xAA etc. and 8+ lights … I expected maybe 20-30 fps at most and was prepared to see single digit fps or just crashes.
     
  5. DragonCoder

    DragonCoder

    Joined:
    Jul 3, 2015
    Posts:
    1,453
    Nothing gets printed to the logs?
    The only times I encountered a massive drop of Fps like that was when multiple warnings were printed every frame (logging is fairly slow due to gathering the stacktrace).

    If the regular profiler doesn't find anything (as it focuses on CPU usage) gotta use the frame profiler.
     
  6. ununion

    ununion

    Joined:
    Dec 2, 2018
    Posts:
    268
    in the profiler
    this function Gfx.WaitForPresentOnGfxThread() use about 50ms in a tick.
    in 2021LTS every thing is ok.
    i have about four camera in my scene ,and the other three is for render some rendertexture for shader.
    i m sure about that its not about console log or something else.
     
  7. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    V-Sync?
     
  8. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,084
    DragonCoder likes this.