Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question Why is the Render Thread time much higher in 2023?

Discussion in '2023.1 Beta' started by SpookyCat, Feb 16, 2023.

  1. SpookyCat

    SpookyCat

    Joined:
    Jan 25, 2010
    Posts:
    3,760
    I have a Unity project in 2019 that runs at 210fps+ with CPU times of main 4.7ms and render thread 0.7ms
    The exact same scene in 2023 and it runs at 85fps with CPU times of main 11.7ms and render thread 5.0ms

    Why is there such a big difference, with their being 250% more CPU time being used and a massive 714% more render thread time. All the project settings are the exact same for both. It really can't be possible that 2023 is this much slower than 2019 can it?
    Unity 2019
    Screenshot 2023-02-16 181930.png
    Unity 2023
    Screenshot 2023-02-16 182500.png
     
    Kichang-Kim likes this.
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,043
    I suggest filing a bug report to get this looked into
     
  3. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    516
    It's better to run the Profiler on the editor to make sure that it's actually that much slower. The numbers in the statistics windows has always been flaky to be reliable.
     
    MartinTilo likes this.
  4. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,450
    To build on what @Neonlyte said: iirc, before 2021 the stats view reduced the CPU timings by the EditorLoop timings, which it no longer does (and was veeery fuzzy math to begin with).

    Use the Profiler and maybe Profile Analyzer to compare your performance in 2019 to that in 2023 and not the Stats view.
     
    mahdi_jeddi and DevDunk like this.