KhronosGroup / KhronosGroup/glTF-Validator
invalid error BUFFER_BYTE_LENGTH_MISMATCH on > 4GB files
- Dominant language
- Dart
- Stars
- 470
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
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](https://github.com/KhronosGroup/glTF-Validator/releases/download/2.0.0-dev.3.10/gltf_validator-2.0.0-dev.3.10-win64.zip)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the report with gltf_validator-2.0.0-dev.3.10-win64 and the reported buffer size. Trace the buffer byte-length validation entry point; done means a correctly sized buffer larger than 4 GB is not reported as BUFFER_BYTE_LENGTH_MISMATCH, with a regression check for this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100