Closed hybridherbst closed 3 months ago
Yes, there should be a new warning for that. The spec allows absolute paths but they are not guaranteed to work.
In related news, it looks like relative paths are also flagged as errors.
BoxTextured does not cause any errors.
However, after editing the glTF to point the texture into a subfolder, the Validator spawns an error:
"issues": { "numErrors": 1, "numWarnings": 0, "numInfos": 0, "numHints": 0, "messages": [ { "code": "IO_ERROR", "message": "Resource not found (materials/Texture/CesiumLogoFlat.png).", "severity": 0, "pointer": "/images/0/uri" } ], "truncated": false },
@echadwick-artist Is it the drag-n-drop web version?
Oh. Yes, this was dragging from Windows Explorer.
Did you drag both the file and the materials
folder?
Yes, like this:
It also causes the error if I use the "Select" link to pick and upload the .glTF file.
I believe this file is valid: NeedleSphereReference.gltf.zip
It's weird by design – it contains a https:// reference to its own .bin buffer. My understanding is that this is allowed.
glTF Validator currently complains with a severity 0
IO_ERROR
, which I think is a bit misleading because it makes the glTF look invalid: