glTF-Validator icon indicating copy to clipboard operation
glTF-Validator copied to clipboard

invalid error BUFFER_BYTE_LENGTH_MISMATCH on > 4GB files

Open pixeljetstream opened this issue 1 year ago • 1 comments

getting

            {
                "code": "BUFFER_BYTE_LENGTH_MISMATCH",
                "message": "Actual data byte length (1839500092) is less than the declared buffer byte length (10429434684).",
                "severity": 0,
                "pointer": "/buffers/0"
            }

despite the provided buffer file having the proper size

used gltf_validator-2.0.0-dev.3.10-win64.zip

pixeljetstream avatar Apr 03 '25 11:04 pixeljetstream

Please provide more information about the asset. The value of buffer.byteLength JSON property must not be greater than the buffer file size.

lexaknyazev avatar Apr 03 '25 12:04 lexaknyazev