diff --git a/crates/bevy_asset/src/io/android_asset_io.rs b/crates/bevy_asset/src/io/android_asset_io.rs index 91aa3770e1..4397dcae63 100644 --- a/crates/bevy_asset/src/io/android_asset_io.rs +++ b/crates/bevy_asset/src/io/android_asset_io.rs @@ -42,6 +42,7 @@ impl AssetIo for AndroidAssetIo { } fn watch_for_changes(&self) -> Result<(), AssetIoError> { + bevy_log::warn!("Watching for changes is not supported on Android"); Ok(()) } diff --git a/crates/bevy_asset/src/io/file_asset_io.rs b/crates/bevy_asset/src/io/file_asset_io.rs index a7124c5982..1bd7f1515c 100644 --- a/crates/bevy_asset/src/io/file_asset_io.rs +++ b/crates/bevy_asset/src/io/file_asset_io.rs @@ -104,6 +104,8 @@ impl AssetIo for FileAssetIo { { *self.filesystem_watcher.write() = Some(FilesystemWatcher::default()); } + #[cfg(not(feature = "filesystem_watcher"))] + bevy_log::warn!("Watching for changes is not supported when the `filesystem_watcher` feature is disabled"); Ok(()) } diff --git a/crates/bevy_asset/src/io/wasm_asset_io.rs b/crates/bevy_asset/src/io/wasm_asset_io.rs index 3e66981edc..a4e260d6fe 100644 --- a/crates/bevy_asset/src/io/wasm_asset_io.rs +++ b/crates/bevy_asset/src/io/wasm_asset_io.rs @@ -46,6 +46,7 @@ impl AssetIo for WasmAssetIo { } fn watch_for_changes(&self) -> Result<(), AssetIoError> { + bevy_log::warn!("Watching for changes is not supported in WASM"); Ok(()) }