Ugh. In one of my game levels, I get the following error when the level is won and the game is trying to transition to the Level Complete scene. It happens 1 out of ever 4 or so times, and only on this one level. Please help.
Assertion failed: (kNormal > 1.19209290e-7F), function b2ContactSolver, file /Users/ansca/.hudson/jobs/Main-DMG/workspace/platform/mac/…/…/external/Box2D_v2.1.2/Box2D/Box2D/Dynamics/Contacts/b2ContactSolver.cpp, line 96.
/Applications/CoronaSDK/simulator: line 9: 10983 Abort trap “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” $*
[import]uid: 13529 topic_id: 6620 reply_id: 306620[/import]
I got this exact same error message. It seems that it happens in rare occasion when the physics engine try to apply force to a moving target. [import]uid: 43825 topic_id: 6620 reply_id: 30486[/import]
Thanks for the info, it’s very helpful, and it tells me next time I should be reporting a bug:)
Onto the crash my code produces: it’s fixed now, and it’s neither a corona bug nor a box2d bug, it’s a bug in the logic of my code. [import]uid: 43825 topic_id: 6620 reply_id: 33008[/import]