File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ opt-level = 1
1616opt-level = 3
1717
1818[dependencies ]
19- bevy = " 0.12 "
19+ bevy = " 0.14 "
Original file line number Diff line number Diff line change @@ -9,11 +9,13 @@ use bevy::prelude::*;
99
1010fn main ( ) {
1111 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 )
16- . add_plugins ( DefaultPlugins )
12+ . add_plugins ( DefaultPlugins . set ( AssetPlugin {
13+ // Wasm builds will check for meta files (that don't exist) if this isn't set.
14+ // This causes errors and even panics in web builds on itch.
15+ // See https://github.com/bevyengine/bevy_github_ci_template/issues/48.
16+ meta_check : AssetMetaCheck :: Never ,
17+ ..default ( )
18+ } ) )
1719 . add_systems ( Startup , setup)
1820 . run ( ) ;
1921}
You can’t perform that action at this time.
0 commit comments