More questions about the geometry engine

So I’m a bit confused on the limitations/requirements of the geometry engine.

I’ve been playing with a few algorithms for binary voxel grid → mesh conversion (Marching Cubes and Surface Nets mainly) but I keep getting errors from FMOD telling me I’m passing invalid parameters. Either that, or it doesn’t create the geometry when I call createGeometry and returns an error there. Does FMOD enforce requirements like “there must not be degenerate polygons/vertices” or something? My code is (API wise) doing everything correctly, but for some reason FMOD is really not liking the vertices I’m passing in.

What is the FMOD_RESULT of your failing createGeometry calls? A failure in createGeometry would indicate a null geometry pointer in the last argument or a <= 0 for maxNumPolygons or maxNumVertices. addPolygon can fail if you’ve exceeded the max polygons or vertices you specified in createGeometry
If you can please give me a sample of some of the failing inputs I can step through and see what’s going wrong?