diff --git a/crates/bevy_animation/src/lib.rs b/crates/bevy_animation/src/lib.rs index 56c623ff86..9fe1d89f25 100644 --- a/crates/bevy_animation/src/lib.rs +++ b/crates/bevy_animation/src/lib.rs @@ -300,6 +300,7 @@ impl AnimationEvent { } #[derive(Reflect, Clone)] +#[reflect(opaque)] struct AnimationEventFn(Arc); impl Default for AnimationEventFn {