User Schustiii and I have found a problem with the entityManager, which we have already solved now.
We are creating a lot (~ 64) entities dynamically in the entity Manager. (Everybody knows when the entity Manager creates an Object, an ID is also created.) And there was the problem.
If we were creating a entity of Jewel3, the id was for example called:
Some time later when we wanted to create a new Jewel3 entity, there was a Warning that there is already an id …Jewel3.qml_32, so he named it file:///C:/FH/Dropbox/FREIGABE/VPlay-build-desktop-Qt_4_8_1_for_Desktop_-_MSVC2010__Qt_SDK__Debug/qml/entities/Jewel3.qml_32_
The Next element was named: ….Jewel3.qml_32__ and so on.
And Here is the Problem: We are storing the IDs in a 2D Array. And at some point of the program comes an error: At the Command where we want to delete an entity which is in our Array (So it must exsist) but the entityManager doesnt know anything about it (aaaannd crash). Weird?
So we thought, the mistake has to be in our code. We were searching several days, but didn’t find anything.
But than we found the solution: We created our ids manually. and everything works.
So the EntityManager has some problems obviously. It seems that he deletes some object manually without any commands. But Why?