bevyengine / bevyengine/bevy

Error loading gltf with webp textures

Open
#20,224 2 comments 5 reactions 0 assignees View on GitHub
A-glTF C-Bug S-Needs-Design
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version

```toml
bevy = { version = "0.16.1", features = ["jpeg", "webp"] }
```

## What you did

Exported a scene from Blender with webp as the texture format

## What went wrong

The scene fails to load in Bevy

## Additional information

```
2025-07-21T09:39:13.762892Z ERROR bevy_asset::server: Failed to load asset 'models/tile.gltf' with asset loader 'bevy_gltf::loader::GltfLoader': invalid glTF file: invalid glTF: textures[0].source: Missing data; textures[1].source: Missing data; textures[2].source: Missing data; extensionsRequired[1] = "EXT_texture_webp": Unsupported extension;
```

After reading #11350 I guess this is not really supported, although the presence of [the webp feature](https://lib.rs/crates/bevy/features#feature-webp) gave me the impression it was.

Contributor guide

Open the contributing guide

Research direction

Start with the bevy_gltf::loader::GltfLoader entry point and read issue #11350 for the existing context around glTF texture support. Reproduce the Blender-exported scene with Bevy 0.16.1 and the jpeg/webp features; done requires a clear resolution for EXT_texture_webp loading or a documented explanation of the feature's scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.