PhysicsDebugDisplay causes Mesh memory leak

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 :frowning:

Hey, this should be fixed in the new release (0.5.1)

1 Like