Compare commits

...

2 Commits

Author SHA1 Message Date
Beni Bachmann
cfd0b3dbd6
Merge faf172d9eb into b3c87085de 2024-07-25 00:57:35 +02:00
Beni Bachmann
faf172d9eb
Disable ExportRegistryPlugin on WASM
Because it tries to write to the assets directory
2024-07-24 21:04:36 +02:00

View File

@ -60,6 +60,7 @@ impl Plugin for BlenvyPlugin {
fn build(&self, app: &mut App) { fn build(&self, app: &mut App) {
app.add_plugins(( app.add_plugins((
ComponentsFromGltfPlugin::default(), ComponentsFromGltfPlugin::default(),
#[cfg(not(target_arch = "wasm32"))]
ExportRegistryPlugin::default(), ExportRegistryPlugin::default(),
BlueprintsPlugin::default(), BlueprintsPlugin::default(),
)) ))