TheOpenSpaceProgram / osp-magnum

A spaceship game
https://www.openspaceprogram.org/
MIT License
216 stars 32 forks source link

assert in newton code #209

Open jonesmz opened 2 years ago

jonesmz commented 2 years ago
[11:46:57.426] [flight] [info] [scenarios_universetest.cpp:480] Captured into Satellite 54 under CoordSpace 55
osp-magnum: /home/jonesmz/osp-magnum/3rdparty/newton-dynamics/newton-3.14/sdk/dgPhysics/dgCollisionCompound.cpp:297: bool dgCollisionCompound::dgNodeBase::BoxTest(const dgCollisionCompound::dgOOBBTestData&, const dgCollisionCompound::dgNodeBase*) const: Assertion `separatingDistance > dgFloat32 (1000.0f)' failed.
Aborted

Universe test, right-clicking and dragging while smashing spacebar.

Since there's no backtrace, this'll probably be hard to debug, and might be better just closed and ignoring unless it happens again.

Capital-Asterisk commented 2 years ago

I'm mostly clueless of what this assert means. It triggers often when creating far-away objects in the Newton world. Nothing bad seems to happen when disabling Newton asserts (-DDG_DISABLE_ASSERT) or running in release mode (something bad is likely happening however).