diff --git a/crates/bevy_log/src/lib.rs b/crates/bevy_log/src/lib.rs index 3578ad3d57d83..a597110319144 100644 --- a/crates/bevy_log/src/lib.rs +++ b/crates/bevy_log/src/lib.rs @@ -126,7 +126,7 @@ impl Plugin for LogPlugin { let subscriber = subscriber.with(tracy_layer); bevy_utils::tracing::subscriber::set_global_default(subscriber) - .expect("Could not set global default tracing subscriber. If you've already set up a tracing subscriber, please disable LogPlugin from Bevy's DefaultPlugins"); + .expect("Could not set global default tracing subscriber. If you've already set up a tracing subscriber, please disable LogPlugin from Bevy's DefaultPlugins. Also, check that you're not accidentally adding DefaultPlugins more than once."); } #[cfg(target_arch = "wasm32")] @@ -136,14 +136,14 @@ impl Plugin for LogPlugin { tracing_wasm::WASMLayerConfig::default(), )); bevy_utils::tracing::subscriber::set_global_default(subscriber) - .expect("Could not set global default tracing subscriber. If you've already set up a tracing subscriber, please disable LogPlugin from Bevy's DefaultPlugins"); + .expect("Could not set global default tracing subscriber. If you've already set up a tracing subscriber, please disable LogPlugin from Bevy's DefaultPlugins. Also, check that you're not accidentally adding DefaultPlugins more than once."); } #[cfg(target_os = "android")] { let subscriber = subscriber.with(android_tracing::AndroidLayer::default()); bevy_utils::tracing::subscriber::set_global_default(subscriber) - .expect("Could not set global default tracing subscriber. If you've already set up a tracing subscriber, please disable LogPlugin from Bevy's DefaultPlugins"); + .expect("Could not set global default tracing subscriber. If you've already set up a tracing subscriber, please disable LogPlugin from Bevy's DefaultPlugins. Also, check that you're not accidentally adding DefaultPlugins more than once."); } } }