-
Notifications
You must be signed in to change notification settings - Fork 144
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
#iterator() cannot be used nested. #209
Comments
This is because we re-use an internal iterator to avoid allocations. You can still instantiate a new iterator yourself. Will look into it anyway. |
I'm also affected by this bug, but i'm currently using the Maven repo with gradle and i'm not sure the best way to update in this case? Is a new release expected to be out soon or should i consider switching to the git version? |
I can make a patch release later this evening. |
Thank you much! |
New release is out http://saltares.com/blog/general/ashley-1-7-2-released/ |
Unfortunately, since the last release (1.7.1) I'm having this issue:
This is because this change introduced in 1.7.1 on Engine.java:
I'm not entirely sure how this happens, although I know it has to do with postRunnables. This happens when I do a heavy removal of entities and box2d bodies which are done on a postRunnable otherwise Box2d will issue a sigfaul.
I'll try to came up with a better explanation and possible a test case. In the mean time, I'll like you to consider to go back to the previous code if this is not entirely necessary.
The text was updated successfully, but these errors were encountered: