You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run this tests, the addEntityListener_Family_Remove (and _Add) will fail with the following exception:
com.badlogic.gdx.utils.GdxRuntimeException: #iterator() cannot be used nested.
at com.badlogic.gdx.utils.ObjectMap$Entries.hasNext(ObjectMap.java:690)
at com.badlogic.ashley.core.Engine.removeEntityInternal(Engine.java:285)
at com.badlogic.ashley.core.Engine.removeEntity(Engine.java:130)
at wingman.tests.AshleyTests.addEntityListener_Family(AshleyTests.java:34)
As you can see the addEntityListener_NoFamily_Remove (and _Add) will not fail so I think the exception must be related to how the families are iterated when handling the entity removal event.
The text was updated successfully, but these errors were encountered:
Hi all, this time I've created a JUnit test to be more helpful:
If you run this tests, the addEntityListener_Family_Remove (and _Add) will fail with the following exception:
As you can see the addEntityListener_NoFamily_Remove (and _Add) will not fail so I think the exception must be related to how the families are iterated when handling the entity removal event.
The text was updated successfully, but these errors were encountered: