diff --git a/benches/benches/bevy_ecs/param/dyn_param.rs b/benches/benches/bevy_ecs/param/dyn_param.rs index 33de52bf13560..b88370272eb1f 100644 --- a/benches/benches/bevy_ecs/param/dyn_param.rs +++ b/benches/benches/bevy_ecs/param/dyn_param.rs @@ -14,6 +14,8 @@ pub fn dyn_param(criterion: &mut Criterion) { #[derive(Resource)] struct R; + world.insert_resource(R); + let mut schedule = Schedule::default(); let system = ( DynParamBuilder::new::>(ParamBuilder), diff --git a/benches/benches/bevy_ecs/param/param_set.rs b/benches/benches/bevy_ecs/param/param_set.rs index 0521561b6b804..3f967a8de174e 100644 --- a/benches/benches/bevy_ecs/param/param_set.rs +++ b/benches/benches/bevy_ecs/param/param_set.rs @@ -11,6 +11,8 @@ pub fn param_set(criterion: &mut Criterion) { #[derive(Resource)] struct R; + world.insert_resource(R); + let mut schedule = Schedule::default(); schedule.add_systems( |_: ParamSet<(