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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Consistent Spikes in Fixed Update.

Discussion in 'Physics' started by JoeTheGG, Jun 28, 2016.

  1. JoeTheGG

    JoeTheGG

    Joined:
    Aug 18, 2013
    Posts:
    42
    Just wondering if anyone knows why my profiler spikes consistently so hard during fixed update (Physics.UpdateBodies). Is this normal?!?

    I posted a snap of my profiler below.
     

    Attached Files:

  2. MatthewW

    MatthewW

    Joined:
    Nov 30, 2006
    Posts:
    1,356
    A) That's not a very big spike (1ms).

    B) If you're using the default settings, physics is only running at 50 fps. You aren't seeing spikes; you're just seeing when physics is actually updating.
     
  3. JoeTheGG

    JoeTheGG

    Joined:
    Aug 18, 2013
    Posts:
    42
    Awesome, thanks for the response.