World.Clear crashes on ProcessRemovedBodies

Jul 14, 2011 at 5:53 PM
Edited Jul 14, 2011 at 5:53 PM

Hello everyone.

When I try to clear my world it always crashes on ProcessRemovedBodies(),
On the line:

 

// Delete the attached fixtures. This destroys broad-phase proxies.
for (int i = 0; i < body.FixtureList.Count; i++)

body.FixtureList is null.

Ideas ?

Thanks.