diff --git a/Cargo.toml b/Cargo.toml index d52645d3..3fbf4831 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,4 +16,4 @@ opt-level = 1 opt-level = 3 [dependencies] -bevy = "0.11" +bevy = "0.12" diff --git a/src/main.rs b/src/main.rs index df89774f..668b2080 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,10 +4,15 @@ // Feel free to delete this line. #![allow(clippy::too_many_arguments, clippy::type_complexity)] +use bevy::asset::AssetMetaCheck; use bevy::prelude::*; fn main() { App::new() + // Wasm builds will check for meta files (that don't exist) if this isn't set. + // This causes errors and even panics on web build on itch. + // See https://github.com/bevyengine/bevy_github_ci_template/issues/48. + .insert_resource(AssetMetaCheck::Never) .add_plugins(DefaultPlugins) .add_systems(Startup, setup) .run();