diff --git a/crates/bevy_animation/src/lib.rs b/crates/bevy_animation/src/lib.rs index e608f57583..c1b8f36bba 100755 --- a/crates/bevy_animation/src/lib.rs +++ b/crates/bevy_animation/src/lib.rs @@ -1255,6 +1255,7 @@ impl Plugin for AnimationPlugin { .register_type::() .register_type::() .register_type::() + .register_type::() .register_type::() .register_type::() .init_resource::() diff --git a/crates/bevy_ui/src/render/ui_material_pipeline.rs b/crates/bevy_ui/src/render/ui_material_pipeline.rs index b8d8590628..91c05bc652 100644 --- a/crates/bevy_ui/src/render/ui_material_pipeline.rs +++ b/crates/bevy_ui/src/render/ui_material_pipeline.rs @@ -59,10 +59,12 @@ where "ui_material.wgsl", Shader::from_wgsl ); - app.init_asset::().add_plugins(( - ExtractComponentPlugin::>::extract_visible(), - RenderAssetPlugin::>::default(), - )); + app.init_asset::() + .register_type::>() + .add_plugins(( + ExtractComponentPlugin::>::extract_visible(), + RenderAssetPlugin::>::default(), + )); if let Some(render_app) = app.get_sub_app_mut(RenderApp) { render_app