Skip to content

Commit

Permalink
Enable bevy's png feature in the 3d examples (#203)
Browse files Browse the repository at this point in the history
# Objective

When running the async colliders example, the following warnings are printed, and Ferris does not appear.

```
2023-10-27T23:27:51.794954Z  WARN bevy_gltf::loader: Error loading glTF texture: You may need to add the feature for the file format: failed to load an image: The image format Png is not supported
2023-10-27T23:27:51.794964Z  WARN bevy_gltf::loader: Error loading glTF texture: You may need to add the feature for the file format: failed to load an image: The image format Png is not supported
2023-10-27T23:27:51.794967Z  WARN bevy_gltf::loader: Error loading glTF texture: You may need to add the feature for the file format: failed to load an image: The image format Png is not supported
```

## Solution

- Enable bevy's png feature in the 3d examples
  • Loading branch information
Friz64 authored Oct 29, 2023
1 parent 2620a60 commit 7fe00b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/examples_common_3d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ bevy = { version = "0.11", default-features = false, features = [
"default_font",
"tonemapping_luts",
"ktx2",
"png",
"zstd",
"bevy_winit",
"x11", # github actions runners don't have libxkbcommon installed, so can't use wayland
Expand Down

0 comments on commit 7fe00b8

Please sign in to comment.