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.

Garbage collector Physics.Systems.BuildPhysicsWorld issue

Discussion in 'Physics for ECS' started by kro11, Jan 31, 2020.

  1. kro11

    kro11

    Joined:
    Sep 23, 2019
    Posts:
    91
    Every ~50 frame framerate garbage cleaning (GC.Collector 80% CPU Usage) . This happens after many collisions have been detected and entities have been destroyed. How can this happen if the entities are already destroyed?

    http://prntscr.com/qvj0bw
     
    Last edited: Jan 31, 2020
  2. Rory_Havok

    Rory_Havok

    Joined:
    Jun 25, 2018
    Posts:
    70
  3. kro11

    kro11

    Joined:
    Sep 23, 2019
    Posts:
    91