I have a Box2D simulation going on and a system that loads the bodies and its' shapes from a text file definition.
I create a new physics world, i load bodies into it, from one of these files. Everything seems to work fine, collisions included.
Then, i attempt to create a really simple one-shaped body from code, just like the most basic tutorials. Lets say a circle.
The circle appears fine, starts falling with gravity, and as soon as it hits a static body, both the circle and that body disapear. As simple as that. The body the circle is colliding with is in this case a ground static rectangle.. Pretty straightforward!
I think im setting everything just the regular way, but i can edit this question with more information if pertinent. Sorry for the lack of detail.
So, anyone knows any circumstances that could cause such an event?
EDIT: For some reason, seems to work in Debug builds, but no in Release.