ParticleEmitter has null geometry

I’m getting this error java.lang.NullPointerException: Geometry: Fire has null mesh if i try to attach a particle emitter to a node that’s attached to the rootNode.

I get this error when i do rootNode.updateGeometricState();, as requested by the program. Any chance this can be solved? I did that way so that i could get water to reflect the particle emitter.

Just leave the updateGeometricState() away, with the newly added local updates most stuff should work without.

It is preferable that you do not call updateGeometricState().

There’s no reason to use it since we now have localized updates for both transforms and bounds

But if i don’t use it, i get an IllegalStateException telling me that it wasn’t updated since the last addition.