Memory leak when AllowCollisionTesting is set to false after a collision has been found. #215
-
I'm using BepuPhysics for collision checks only. The implementation is based on the CollisionQueryDemo. When I check a compound with a mesh, and a collision has been found, I want to stop the check and report a collision back to the system. I'm doing this by setting AllowCollisionTesting to false when a collision has been found. When I'm setting AllowCollisionTesting to false, the memory usage ramp up from 500mb to, 7000mb. Is there another way to stop the collision batcher after a collision has been found, or a way to fix memory leaking. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That shouldn't happen- I've reproduced the bug, working on a fix. |
Beta Was this translation helpful? Give feedback.
That shouldn't happen- I've reproduced the bug, working on a fix.