diff --git a/crates/bevy_asset/src/io/wasm.rs b/crates/bevy_asset/src/io/wasm.rs index 99ff39799b..2636419299 100644 --- a/crates/bevy_asset/src/io/wasm.rs +++ b/crates/bevy_asset/src/io/wasm.rs @@ -77,7 +77,7 @@ impl AssetReader for HttpWasmAssetReader { path: &'a Path, ) -> BoxedFuture<'a, Result>, AssetReaderError>> { Box::pin(async move { - let meta_path = get_meta_path(path); + let meta_path = get_meta_path(&self.root_path.join(path)); Ok(self.fetch_bytes(meta_path).await?) }) }