Skip to content

Instantly share code, notes, and snippets.

@onkoe
Last active December 8, 2024 07:05
Show Gist options
  • Save onkoe/e879270aa60cde545f2b74f492bb09bd to your computer and use it in GitHub Desktop.
Save onkoe/e879270aa60cde545f2b74f492bb09bd to your computer and use it in GitHub Desktop.
checking for system ambiguity in bevy 0.15.0
use bevy::{
ecs::schedule::{LogLevel, ScheduleBuildSettings},
prelude::*,
};
fn main() -> AppExit {
let mut app = App::new();
// ...
app.edit_schedule(Main, |s| {
s.set_build_settings(ScheduleBuildSettings {
ambiguity_detection: LogLevel::Warn,
..Default::default()
});
});
// ...
app.run()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment