diff --git a/crates/bevy_render/src/lib.rs b/crates/bevy_render/src/lib.rs index f500272eac..33d313eea4 100644 --- a/crates/bevy_render/src/lib.rs +++ b/crates/bevy_render/src/lib.rs @@ -17,6 +17,7 @@ use bevy_ecs::{ system::{IntoExclusiveSystem, IntoSystem, Res}, }; use bevy_transform::TransformSystem; +use bevy_utils::tracing::warn; use draw::{OutsideFrustum, Visible}; pub use once_cell; @@ -229,8 +230,8 @@ impl Plugin for RenderPlugin { fn check_for_render_resource_context(context: Option>>) { if context.is_none() { - panic!( + warn!( "bevy_render couldn't find a render backend. Perhaps try adding the bevy_wgpu feature/plugin!" - ) + ); } }