We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AssetMetaCheck
1 parent c174e77 commit bc4b276Copy full SHA for bc4b276
Cargo.toml
@@ -16,4 +16,4 @@ opt-level = 1
16
opt-level = 3
17
18
[dependencies]
19
-bevy = "0.11"
+bevy = "0.12"
src/main.rs
@@ -4,10 +4,15 @@
4
// Feel free to delete this line.
5
#![allow(clippy::too_many_arguments, clippy::type_complexity)]
6
7
+use bevy::asset::AssetMetaCheck;
8
use bevy::prelude::*;
9
10
fn main() {
11
App::new()
12
+ // Wasm builds will check for meta files (that don't exist) if this isn't set.
13
+ // This causes errors and even panics on web build on itch.
14
+ // See https://github.com/bevyengine/bevy_github_ci_template/issues/48.
15
+ .insert_resource(AssetMetaCheck::Never)
.add_plugins(DefaultPlugins)
.add_systems(Startup, setup)
.run();
0 commit comments