Loading animated objects

Hi,



I've got a question about loading animated mesh objects. We've got the problem, that we couldn't load a mesh object with the asset manager after we loaded an object with bones and animation. We are using ogre xml objects. Always this exception is thrown:

java.lang.NullPointerException
   at com.jme3.animation.AnimControl.resetToBind(AnimControl.java:160)



If we first load all meshes without animation and after that all with animation everything goes right. What can we do if we want to load them randomly or in other order?

Best regards,
zeraSoth

Well not any help, but I have/had that problem too, when I load the ninja and then the elephant it crashes with above exception. So at least you are not alone …