diff --git a/crates/bevy_render/src/texture/mod.rs b/crates/bevy_render/src/texture/mod.rs index 866cbc928c68e..986ae7d104ea4 100644 --- a/crates/bevy_render/src/texture/mod.rs +++ b/crates/bevy_render/src/texture/mod.rs @@ -118,6 +118,8 @@ impl Plugin for ImagePlugin { feature = "bmp", feature = "basis-universal", feature = "ktx2", + feature = "webp", + feature = "pnm" ))] app.preregister_asset_loader::(IMG_FILE_EXTENSIONS); } @@ -131,6 +133,8 @@ impl Plugin for ImagePlugin { feature = "bmp", feature = "basis-universal", feature = "ktx2", + feature = "webp", + feature = "pnm" ))] { app.init_asset_loader::();