Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"NullError: method not found: 'buffer' on null" when validating glTF #99

Closed
bghgary opened this issue Oct 12, 2018 · 1 comment
Closed

Comments

@bghgary
Copy link

bghgary commented Oct 12, 2018

Repro:

  1. Take this model SittingBox.zip and put it on the glTF-Validator web page.

This original repro is trying to validate a glb in the BabylonJS sandbox that came from here: https://github.com/mrdoob/three.js/blob/master/examples/models/gltf/SittingBox.glb. The zip file with the glTF file was extracted from the glb without modification.

If I set validateAccessorData to false, then it doesn't repro.

@bghgary bghgary changed the title "NullError: method not found: 'buffer' on null" when loading glTF "NullError: method not found: 'buffer' on null" when validating glTF Oct 12, 2018
@lexaknyazev
Copy link
Member

I've fixed crash internally, will open a PR with a couple more updates following recent discussions.

Btw, this asset shows a new corner case. A non-GLB file which doesn't have buffer.uri defined. Spec doesn't seem to address this one.

lexaknyazev added a commit that referenced this issue Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants