diff --git a/crates/bevy_asset/src/processor/log.rs b/crates/bevy_asset/src/processor/log.rs index f95724f51972b..646cf737b1ca9 100644 --- a/crates/bevy_asset/src/processor/log.rs +++ b/crates/bevy_asset/src/processor/log.rs @@ -90,10 +90,7 @@ impl ProcessorTransactionLog { } if let Some(parent_folder) = path.parent() { - DirBuilder::new() - .recursive(true) - .create(parent_folder) - .await?; + async_fs::create_dir_all(parent_folder).await?; } Ok(Self {