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
ItsDoot opened this issue
Mar 10, 2023
· 2 comments
· Fixed by #8028
Labels
A-ECSEntities, components, systems, and eventsC-FeatureA new feature, making something new possibleD-TrivialNice and easy! A great choice to get started with Bevy
What problem does this solve or what need does it fill?
As of #7911, Bevy no longer panics when a system is added to a schedule that doesn't exist yet. However, that's only for adding systems, not running them.
What solution would you like?
A version of World::run_schedule that returns a Result rather than panic, likely called World::try_run_schedule.
What alternative(s) have you considered?
Check the Schedules resource for an existing schedule before running it.
A-ECSEntities, components, systems, and eventsC-FeatureA new feature, making something new possibleD-TrivialNice and easy! A great choice to get started with Bevy
What problem does this solve or what need does it fill?
As of #7911, Bevy no longer panics when a system is added to a schedule that doesn't exist yet. However, that's only for adding systems, not running them.
What solution would you like?
A version of
World::run_schedule
that returns a Result rather than panic, likely calledWorld::try_run_schedule
.What alternative(s) have you considered?
Check the
Schedules
resource for an existing schedule before running it.Additional Context
Ran into this issue during #7936.
The text was updated successfully, but these errors were encountered: