Remove component ArrayIndexOutOfBoundsException
mgsx-dev opened this issue · 0 comments
mgsx-dev commented
There is a bug when reaching default bag size of 64 :
- I have an entity with 64 components.
- When I try to remove a 65th new component type (never added on any entities), I get following exception :
java.lang.ArrayIndexOutOfBoundsException: 64
at com.badlogic.ashley.utils.Bag.get(Bag.java:105)
at com.badlogic.ashley.core.Entity.remove(Entity.java:96)
I'll provide a PR right now to fix it.