Shadows with imported evolver Avatars

If I generate a basic shape or use a avatar that comes with jme3 (like the green ninja), there are no issues with it casting shadows.

If I import a separate avatar and make it cast a shadow, it crashes in compiling.

This is the block of code where I assign shadows

[java] rootNode.setShadowMode(ShadowMode.Off);

BasicShadowRenderer bsr = new BasicShadowRenderer(assetManager, 512);

bsr.setDirection(new Vector3f(-1, -1, -1).normalizeLocal());





If I comment out the last line, telling the model to actually cast a shadow, everything runs fine (sans shadows)

The avatars I’m using were made from that free evolver site (

Anyone have ideas?


It crashes in compiling? Don’t you mean it crashes at run time?

you need to post the exception.

do a testcase, propably you have a nullpointer exception