Skip to content

System set with run criteria ignoring AppState #7413

Answered by rparrett
Jeremy-Code-F asked this question in Q&A
Discussion options

You must be logged in to vote

You're not doing anything wrong. This is a limitation in Bevy 0.9.

The text on the cheatbook page you linked to hints at this:

Consider using the iyes_loopless crate, which provides an alternative implementation that does not suffer from the usability issues of the one in Bevy.

And following the usability issue link explains further:

Because states are implemented using run criteria, they cannot be combined with other uses of run criteria, such as fixed timestep.

This limitation is being addressed by an ongoing scheduler overhaul detailed in bevyengine/rfcs#45 which will likely be making it into the next release of Bevy.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jeremy-Code-F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants