GLTF with 3 UV Maps throws an error
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version
Release 0.13.2
## What you did
Try to load a GLTF with 3 uv maps like this (inside of gltf file) :
```
"meshes":[
{
"name":"Mesh.001",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2,
"TEXCOORD_1":3,
"TEXCOORD_2":4
},
"indices":5,
"material":0
},
{
"attributes":{
"POSITION":6,
"NORMAL":7,
"TEXCOORD_0":8,
"TEXCOORD_1":9,
"TEXCOORD_2":10
},
"indices":11,
"material":1
}
]
}
],
```
## What went wrong
Bevy throws an error
WARN bevy_gltf::loader: Unknown vertex attribute TEXCOORD_2
## Additional information
If this is supposed to error, explain it in the docs and also when the error is thrown, print out the path or name of the GLTF that is failing to load . If this is not supposed to error and that functionality should be supported, support it in the vertex attributes loader for gltf.
Contributor guide
Assessment
This issue has not been assessed yet.