diff --git a/crates/bevy_state/src/state/resources.rs b/crates/bevy_state/src/state/resources.rs index c9f4279634..e4d5804ebf 100644 --- a/crates/bevy_state/src/state/resources.rs +++ b/crates/bevy_state/src/state/resources.rs @@ -52,7 +52,7 @@ use bevy_reflect::prelude::ReflectDefault; #[cfg_attr( feature = "bevy_reflect", derive(bevy_reflect::Reflect), - reflect(Resource) + reflect(Resource, Debug, PartialEq) )] pub struct State(pub(crate) S); @@ -118,7 +118,7 @@ impl Deref for State { #[cfg_attr( feature = "bevy_reflect", derive(bevy_reflect::Reflect), - reflect(Resource, Default) + reflect(Resource, Default, Debug) )] pub enum NextState { /// No state transition is pending