GLTF export is not valid

Hi,

I am evaluating Aspose 3d for creating gltf/fbx/dae files dynamically. FBX seems to work, Collada seems to work somewhat, but GLTF (GLB) does not work at all. The created glb file results in lots of errors when opened in any gltf validator/loader (like glTF Validator)…

Small example file:
mesh(6).zip (6.3 KB)

Has lots of errors:

{
    "uri": "mesh(6).glb",
    "mimeType": "model/gltf-binary",
    "validatorVersion": "2.0.0-dev.3.2",
    "validatedAt": "2020-08-26T08:52:16.867Z",
    "issues": {
        "numErrors": 18,
        "numWarnings": 0,
        "numInfos": 0,
        "numHints": 0,
        "messages": [
            {
                "code": "ACCESSOR_MIN_MISMATCH",
                "message": "Declared minimum value for this component (5.999646186828613) does not match actual minimum (-6.226147651672363).",
                "severity": 0,
                "pointer": "/accessors/1/min/0"
            },
            {
                "code": "ACCESSOR_ELEMENT_OUT_OF_MIN_BOUND",
                "message": "Accessor contains 438 element(s) less than declared minimum value 5.999646186828613.",
                "severity": 0,
                "pointer": "/accessors/1/min/0"
            },
            {
                "code": "ACCESSOR_MIN_MISMATCH",
                "message": "Declared minimum value for this component (9.999646186828613) does not match actual minimum (-5.835062503814697).",
                "severity": 0,
                "pointer": "/accessors/1/min/1"
            },
            {
                "code": "ACCESSOR_ELEMENT_OUT_OF_MIN_BOUND",
                "message": "Accessor contains 492 element(s) less than declared minimum value 9.999646186828613.",
                "severity": 0,
                "pointer": "/accessors/1/min/1"
            },
            {
                "code": "ACCESSOR_MIN_MISMATCH",
                "message": "Declared minimum value for this component (13.999646186828613) does not match actual minimum (-19.27395248413086).",
                "severity": 0,
                "pointer": "/accessors/1/min/2"
            },
            {
                "code": "ACCESSOR_ELEMENT_OUT_OF_MIN_BOUND",
                "message": "Accessor contains 492 element(s) less than declared minimum value 13.999646186828613.",
                "severity": 0,
                "pointer": "/accessors/1/min/2"
            },

And the list goes on.

Here is a working fbx file created with aspose (same model as the problematic glTF) for reference:
mesh(14).zip (9.1 KB)

Any ideas?

Br. Max

@cedemax

Could you please share the code snippet which you used to create the GLTF file. Also, please try to use free 30-days temporary license while creating any file so that you can use API without any limitation.