DanielChappuis / reactphysics3d

Open source C++ physics engine library in 3D
http://www.reactphysics3d.com
zlib License
1.55k stars 224 forks source link

assert(size > 0); #404

Open Shell4026 opened 1 month ago

Shell4026 commented 1 month ago

HeapAllocator.cpp line 220 assert(size > 0);

If I destroy the PhysicsWorld without allocating any objects to it, I will get an error on that part.

This is my code: physicsCommon.createPhysicsWorld(); physicsCommon.destroyPhysicsWorld(world);

375 Is this related?