bevyengine / bevyengine/bevy

GLTF with 3 UV Maps throws an error

Open
#12,995 3 comments 2 reactions 0 assignees View on GitHub
A-Diagnostics A-glTF C-Bug C-Usability S-Ready-For-Implementation
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.