My own “every so often random crash without useful error message” was caused by calling physics.stop() when a level ended.
The fix was to remove/delete/nil EVERY SINGLE physical object in the old level after calling physics.stop(), prior to calling physics.start() again on the next level. Not doing that and my game loaded new levels fine most of the time, except randomly between 2-20 times after starting a new level when it would crash.
Simply relying on the old physical objects being trashed by a scene change with my scene manager cleanup function was NOT enough to clean up the physics world and avoid the crash. I had to backwards iterate through the display group where my physical objects lived and delete them all one at a time.
No idea if that’s the cause of your crash, but if it is I just saved you about 5 days of hair pulling frustration. [import]uid: 9422 topic_id: 13137 reply_id: 48230[/import]