diff --git a/crates/bevy_core_pipeline/src/fxaa/mod.rs b/crates/bevy_core_pipeline/src/fxaa/mod.rs index e65579c5b4273..bae09b4467c15 100644 --- a/crates/bevy_core_pipeline/src/fxaa/mod.rs +++ b/crates/bevy_core_pipeline/src/fxaa/mod.rs @@ -27,7 +27,7 @@ mod node; pub use node::FxaaNode; -#[derive(Reflect, Eq, PartialEq, Hash, Clone, Copy)] +#[derive(Debug, Reflect, Eq, PartialEq, Hash, Clone, Copy)] #[reflect(PartialEq, Hash)] pub enum Sensitivity { Low, @@ -86,7 +86,7 @@ impl Plugin for FxaaPlugin { fn build(&self, app: &mut App) { load_internal_asset!(app, FXAA_SHADER_HANDLE, "fxaa.wgsl", Shader::from_wgsl); - app.register_type::(); + app.register_type::().register_type::(); app.add_plugins(ExtractComponentPlugin::::default()); let Ok(render_app) = app.get_sub_app_mut(RenderApp) else {