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

Profiler spikes in performance PhysX.BpSAP.postUpdateWork and PhysX.BpSAP.updateWork

Discussion in 'Editor & General Support' started by visumecadroide, May 28, 2019.

  1. visumecadroide

    visumecadroide

    Joined:
    Sep 20, 2018
    Posts:
    25
    hello, i am getting big spikes in the profiler when Physics.processing is calling `PhysX.BpSAP.postUpdateWork` and `PhysX.BpSAP.updateWork`. What is causing this ? What can i do to resolve it ?

    I am using unity version 2018.4 and i am profiling a build (not playmode in editor).

    upload_2019-5-28_12-48-30.png
     
  2. jankovalsky

    jankovalsky

    Joined:
    May 31, 2017
    Posts:
    14
    I think I may also have seen them briefly in 2018.4, after that I upgraded to 2018.4.1, and ended with UpdateDepthTexture spikes. Can you try to update and provide feedback?
     
  3. visumecadroide

    visumecadroide

    Joined:
    Sep 20, 2018
    Posts:
    25
    I upgraded to 2018.4.1 but i still get Physics.processing spikes after some minutes without any reason.
    I sent a report to unity and i am waiting for their answer.

    I can't tell for UpdateDepthTexture because spikes seems to be related to different calls so it's too difficult to say it's because one thing.