NullPointerException in GeometryBatchFactory MergeGeometries()


i am having a problem running the merge geometries method int the GeometryBatchFactory class.

I am trying to merge the geometries of my level, actually the level is successfully imported into

a j3o file and is visibile but when i try to call this method passing the geometry of the level,

i get a null pointer, it looks like for some geometry the inbuffer is null for bufferType textcoord.

You’re not really supposed to call mergeGeometries() directly, call optimize() on a node and then continue using that node.

Actually i am using it to create the navigation map,

following what i saw in the monkeyzone project.