Search Unity

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

Question [Windows] Performance Peaks caused by different systems every 10 - 15 frames

Discussion in 'Windows' started by fred-super-crowd, Jun 27, 2023.

  1. fred-super-crowd


    Feb 23, 2023
    Hey folks,

    I've noticed some strange behaviour in our windows builds. Different parts of the project generate massive performance peaks every few frames.

    As far as I can tell, it's a different system each time. Partly our own, partly plugins or Unity internal systems like the rendering pipeline, ECS systems etc.

    We have noticed this behavior before and also in other projects. This also happens on other computers, but sometimes with longer intervals between the peaks.

    I will attach some screenshots of the profiler data to this thread.

    Does anyone have any idea what this behaviour could be due to and what we can do about it?

    Thanks in advance!

    image 1.png image 2.png image 3.png image 4.png image 5.png

  2. Tautvydas-Zilys


    Unity Technologies

    Jul 25, 2013
    That sounds like something else is running on your system and is preempting Unity's process. Unity profiler measures wall time, so if anything interferes with it, it will show a spike.

    Did you check your task manager if there's anything else using your computer resources when this is happening?