Respect SystemParam::validate_param
for observers and other non-executor system runners
#15394
Labels
A-ECS
Entities, components, systems, and events
C-Feature
A new feature, making something new possible
D-Modest
A "normal" level of difficulty; suitable for simple features or challenging fixes
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
X-Uncontroversial
This work is generally agreed upon
Milestone
What problem does this solve or what need does it fill?
Currently only schedule executors respect the
SystemParam::validate_param
to prevent panics when running systems with unavailable resources.As a follow up to #15276 this should be implemented for other places that run systems like:
&mut World
What solution would you like?
Check
validate_param
directly before running the systems and if it fails, don't run them.The text was updated successfully, but these errors were encountered: