-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsP-RegressionFunctionality that used to work but no longer does. Add a test for this!Functionality that used to work but no longer does. Add a test for this!S-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplishedX-ContentiousThere are nontrivial implications that should be thought throughThere are nontrivial implications that should be thought through
Milestone
Description
The issue
At some point (#13442, #13343) the WorldQuery
API was changed from this ... to this. Most notably, the function signature of init_state
and get_state
changed which didn't cause any direct problems in the bevy repo itself.
However, it seems like at least one downstream crate, bevy-trait-query
, depends on the previous version of this API to access a vital building block: The TraitImplRegistry
resource. This was previously possible through the &mut World
argument and now isn't possible anymore. It also doesn't appear to be easily fixable with the current API.
Alice also mentioned that things like indexed queries wouldn't be possible anymore without access to resources.
no-materials
Metadata
Metadata
Assignees
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsP-RegressionFunctionality that used to work but no longer does. Add a test for this!Functionality that used to work but no longer does. Add a test for this!S-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplishedX-ContentiousThere are nontrivial implications that should be thought throughThere are nontrivial implications that should be thought through