I keep, seemingly randomly, having my game crash out with an error in the console:
dmengine: ../src/box2d/Box2D/Collision/b2DynamicTree.h:232: void b2DynamicTree::RayCast(T*, const b2RayCastInput&) const [with T = b2WorldRayCastWrapper]: Assertion r.LengthSquared() > 0.0f' failed.
Other than being something to do with raycasts I have no idea what’s causing it! I’m using editor 2 and seeing this issue on both my linux machine and someone else’s windows machine.
If it’s of any help then the project is at https://github.com/dirty-casuals/V.Ampere/ the code is a bit of a mess but the raycasts are done in simple_ai/ai.script and player/player_power.script.