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.

Bug PhysicsDebugDisplay causes Mesh memory leak

Discussion in 'Physics for ECS' started by No3371, Nov 2, 2020.

  1. No3371

    No3371

    Joined:
    Dec 1, 2016
    Posts:
    42
    In my project, entities got created and destroyed frequently, all of them is getting attached with Physics components, If I play with DrawColliderEdges on, ram will be consumed by Mesh (Native Object) and never get released.
    (DOTS Physics 0.5, Unity 2020.1.10)

    Sorry but I can't provide the project :(
    upload_2020-11-2_12-8-54.png
     
  2. papopov

    papopov

    Joined:
    Jun 29, 2020
    Posts:
    32
    Hey, this should be fixed in the new release (0.5.1)
     
    No3371 likes this.