Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Bug Unity Physics performance degraded since 2020.3.16

Discussion in 'Physics for ECS' started by WildMaN, Dec 3, 2021.

  1. WildMaN

    WildMaN

    Joined:
    Jan 24, 2013
    Posts:
    129
    It took me a while to figure out what's going on, but long story short 2020.3.16 introduced something which kills Unity Physics performance on heavy scenes, but not Havok's.

    16k cubes falling down on the ground.

    2020.3.15 and earlier down to 2019.4.32:
    2020.3.15 test.jpg

    2020.3.16 and later up to 2020.3.23:
    2020.3.16 test.jpg

    Same packages, settings, scene, same everything.

    2020.3.16 patch notes mention "Burst: Platform updates." and that's my only clue. Why all of a sudden narrow phase starts taking x2.5 time and why DispatchPairs job not only becomes noticeable, yet eating the bulk on the frame's time. This is repo project; in my main one DispatchPairs eats up to 70% of frame time!

    Bug case is 1385608 and I wonder has anybody else experienced this ?
     
    lclemens and DevViktoria like this.
  2. WildMaN

    WildMaN

    Joined:
    Jan 24, 2013
    Posts:
    129
    lclemens and DevViktoria like this.