diff --git a/crates/bevy_core/src/lib.rs b/crates/bevy_core/src/lib.rs index c925bc99362da..5c669186d7934 100644 --- a/crates/bevy_core/src/lib.rs +++ b/crates/bevy_core/src/lib.rs @@ -140,7 +140,7 @@ fn tick_global_task_pools(_main_thread_marker: Option>) { /// [`FrameCount`] will wrap to 0 after exceeding [`u32::MAX`]. Within reasonable /// assumptions, one may exploit wrapping arithmetic to determine the number of frames /// that have elapsed between two observations – see [`u32::wrapping_sub()`]. -#[derive(Default, Resource, Clone, Copy)] +#[derive(Debug, Default, Resource, Clone, Copy)] pub struct FrameCount(pub u32); /// Adds frame counting functionality to Apps.