Closed
Description
Bevy version
0.14.2
What you did
pub fn component_animator_system(
time: Res<Time>,
events: ResMut<Events<TweenCompleted>>,
mut q_anim: Query<EntityMut, With<Animator>>,
) {
What went wrong
The component query conflicts with the resources:
bevy_ecs-0.14.2/src/system/system_param.rs:302:5:
error[B0001]: Query<bevy_ecs::world::entity_ref::EntityMut, bevy_ecs::query::filter::With<bevy_tweening::Animator>> in system bevy_tweening::plugin::component_animator_system accesses component(s) bevy_ecs::event::Events<bevy_tweening::tweenable::TweenCompleted>, bevy_time::time::Time in a way that conflicts with a previous system parameter. Consider using `Without<T>` to create disjoint Queries or merging conflicting Queries into a `ParamSet`. See: https://bevyengine.org/learn/errors/#b0001
Asked on #ecs-dev, this looks like an error, as component queries shouldn't conflict with resources.