From 17b31daa30e2b85d91a6f9b13d36de3a50c4366d Mon Sep 17 00:00:00 2001 From: Beni Bachmann Date: Sat, 27 Jul 2024 22:07:48 +0200 Subject: [PATCH] feat(Blenvy:Bevy): Disable ExportRegistryPlugin on WASM (#201) Because it tries to write to the assets directory --- crates/blenvy/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/blenvy/src/lib.rs b/crates/blenvy/src/lib.rs index abec7ac..9df591f 100644 --- a/crates/blenvy/src/lib.rs +++ b/crates/blenvy/src/lib.rs @@ -60,6 +60,7 @@ impl Plugin for BlenvyPlugin { fn build(&self, app: &mut App) { app.add_plugins(( ComponentsFromGltfPlugin::default(), + #[cfg(not(target_arch = "wasm32"))] ExportRegistryPlugin::default(), BlueprintsPlugin::default(), ))