Closed hu-xd closed 7 months ago
Do you have a model I can use for testing?
yes here it is a sample gltf model https://gist.github.com/hu-xd/d9c4ec6268bad598e1b92e2ca50f299e
Exception message: SharpGLTF.Validation.DataException: Accessor[2] memory: Value[0] is out of bounds. 255 <= 1 <= 255 (Parameter 'memory')Model generated by <> seems to be malformed; Please, check the file at https://github.khronos.org/glTF-Validator/
First: glTF Validator and BabylonJs Sandbox reports no errors for the glb model file.
Description: when Accessor has a component type other than FLOAT, for example 5121 (UNSIGNED_BYTE), which is used as RGB / RGBA for "COLOR_0", VerifyAccessorBounds will report error, then ModelRoot.Load throws.