You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added a system that accesses a resource and a query with EntityMut
fnbad_system(res:Res<A>,query:Query<EntityMut>){}
What went wrong
The parameters conflict with each other:
error[B0001]: Query<bevy_ecs::world::entity_ref::EntityMut, ()> in system bevy_github_ci_template::bad_system accesses component(s) bevy_github_ci_template::A 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`.
I would have expected them not to conflict, since EntityMut can't access resources.
This is probably happening because EntityMut sets the writes_all boolean on the system access and because Resources and Components share an id space. Not sure if there's an easy way of fixing this beside separating the spaces somehow.
The text was updated successfully, but these errors were encountered:
Bevy version
0.12.1
What you did
Added a system that accesses a resource and a query with
EntityMut
What went wrong
The parameters conflict with each other:
I would have expected them not to conflict, since
EntityMut
can't access resources.This is probably happening because
EntityMut
sets thewrites_all
boolean on the system access and because Resources and Components share an id space. Not sure if there's an easy way of fixing this beside separating the spaces somehow.The text was updated successfully, but these errors were encountered: