Error: Scene graph is not properly updated for rendering

    java.lang.IllegalStateException: Scene graph is not properly updated for rendering.
    Make sure scene graph state was not changed after
    rootNode.updateGeometricState() call.
    Problem spatial name: 1290924652722geom

i am receiving this when i try to:

[java] public void updateBox(String ID,Vector3f loc){

the box has been created and works fine, its just when i try to set it to a new location itll crash.

Are you modifying the Spatial outside the render thread?

yes that method is being called from another class…i dont really know how to get around it.

i figured it out, thank you for your help!