FilteredEntityRef
/FilteredEntityMut
's access is empty when used in composite queries
#14349
Labels
A-ECS
Entities, components, systems, and events
C-Bug
An unexpected or incorrect behavior
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
D-Straightforward
Simple bug fixes and API improvements, docs, test and examples
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
X-Uncontroversial
This work is generally agreed upon
Bevy version
Both 0.14.0 and af865e7
What you did
What went wrong
It seems that when
FilteredEntityRef
/FilteredEntityMut
are nested inside a tuple the access is not properly set. Indeed the implementation ofWorldQuery
for tuples does not call theset_access
method used byFilteredEntityRef
/FilteredEntityMut
. However the fix doesn't seem as simple as just calling it, since may ignore any potential conflict between theFilteredEntity*
and the otherQueryData
s in the query.The text was updated successfully, but these errors were encountered: