Skip to content

Commit

Permalink
Update to Bevy 0.14 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett authored Jul 5, 2024
1 parent bc4b276 commit a7f467e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ opt-level = 1
opt-level = 3

[dependencies]
bevy = "0.12"
bevy = "0.14"
12 changes: 7 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ 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_plugins(DefaultPlugins.set(AssetPlugin {
// Wasm builds will check for meta files (that don't exist) if this isn't set.
// This causes errors and even panics in web builds on itch.
// See https://github.com/bevyengine/bevy_github_ci_template/issues/48.
meta_check: AssetMetaCheck::Never,
..default()
}))
.add_systems(Startup, setup)
.run();
}
Expand Down

0 comments on commit a7f467e

Please sign in to comment.