Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hit an assert in CollisionBody::~CollisionBody #52

Closed
andreasdr opened this issue May 26, 2018 · 4 comments
Closed

Hit an assert in CollisionBody::~CollisionBody #52

andreasdr opened this issue May 26, 2018 · 4 comments
Assignees
Labels

Comments

@andreasdr
Copy link

Hi,

I am hitting an assert when destroying a collision body in a dynamics world.

Assertion failed: (mContactManifoldsList == nullptr), function ~CollisionBody, file ext/reactphysics3d/src/body/CollisionBody.cpp, line 54.

See:

Best regards
Andreas

@DanielChappuis DanielChappuis self-assigned this May 28, 2018
@andreasdr
Copy link
Author

andreasdr commented May 28, 2018

FYI: I am adding a collision body in a frame and then just remove it after several frames(means after several world.update() calls). So nothing special at all.

@DanielChappuis
Copy link
Owner

I think I have fixed this issue with this commit in the develop branch.

Can you confirm that it is also fixed on your side in the develop branch ?

@andreasdr
Copy link
Author

Seems to be fixed. Thank you.

@DanielChappuis
Copy link
Owner

Ok Thanks. The fix is now merged in the master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants