Box2d crash - Assertion failed: r.LengthSquared() > 0.0f

Assertion failed: r.LengthSquared() > 0.0f, file C:\buildbot\slave\builds\engine-win32-64-master\build\engine\physics\src\box2d\Box2D/Collision/b2DynamicTree.h, line 232

Looks related to this

This happened when I walked out of the scene to the right but continued to shoot. Crash happens semi-consistently, keep shooting and walking right move with wasd may take a few attempts.

Here’s the project https://github.com/subsoap/defbullet

1 Like