From 1cca4f2968f0600e0f3a06b87bab777d1c822936 Mon Sep 17 00:00:00 2001 From: akimakinai <105044389+akimakinai@users.noreply.github.com> Date: Fri, 30 Aug 2024 01:47:58 +0900 Subject: [PATCH] Remove some asset examples from web showcase (#14973) # Objective - `custom_asset_reader` and `extra_asset_source` examples are not working on web. - Fixes #14689 ## Solution - Make these examples `wasm=false` per https://github.com/bevyengine/bevy/issues/14689#issuecomment-2313064396 ## Testing --- Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fde3db1f420d2..6e9daa74a4fba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1407,7 +1407,8 @@ doc-scrape-examples = true name = "Custom Asset IO" description = "Implements a custom AssetReader" category = "Assets" -wasm = true +# Incompatible with the asset path patching of the example-showcase tool +wasm = false [[example]] name = "embedded_asset" @@ -1429,7 +1430,8 @@ doc-scrape-examples = true name = "Extra asset source" description = "Load an asset from a non-standard asset source" category = "Assets" -wasm = true +# Uses non-standard asset path +wasm = false [[example]] name = "hot_asset_reloading"