ScriptedImporter interprets GLB file length incorrectly
I have a GLB here which validates OK but doesn't import when I drag it into the assets folder of Unity. UnityGLTF complains with GLTFHeaderInvalidException: File length does not match chunk header.
A) Chunk headers don't define file length, the file header does that. B) This glTF file (attached) loads fine everywhere I've tried. C) This glTF file validates in Khronos' glTF-Validator with zero errors and zero warnings.
The scripted importer doesn't import valid GLB files.
Does this happen with runtime import as well, or just when dragging the glb into Unity?
Just when dragging. Loading GLBs served over http(s) works fine.
I get the same issue with a minimal cube.glb exported by UnityGLTF itself, attached. The glb displays fine everywhere else.
Fixed in latest release