KhronosGroup/glTF-Validator

invalid error: URI_GLB

malytomas opened this issue · 3 comments

According to specification: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#glb-file-format-specification-general it is allowed to have references for external textures. However, the validator issues an error stating that it is not allowed.

gltf-validation

Testing file:

meshes.zip

URI_GLB is reported with severity 2, i.e, it's an Info, not an Error.

The only error in this report is IO_ERROR likely caused by not dropping both files (GLB and PNG) to the web-based validator window.

Oh, I thought higher severity is more bad. Thanks for explanation.

A bit of extra context — by convention, .glb files are usually self-contained and .gltf files usually have external resources. I would encourage public, user-facing tools to stick to those conventions. But it is not required, and there are rare times you might want to do otherwise.