System set with run criteria ignoring AppState #7413
-
Hi, I've been following https://bevy-cheatbook.github.io/programming/states.html to implement app states in my snake clone game. For some reason it seems like bevy ignores the AppState when using
I would expect the above code to only call If I change the call to
Then it works the way I would expect, but of course I lose my FixedTimestep. Am I doing something wrong here? p.s. similar question here but there was no answer on that post. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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:
And following the
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. |
Beta Was this translation helpful? Give feedback.
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:
And following the
usability issue
link explains further: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.