-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug?] State is not updated when manually updating App #13874
Comments
@alice-i-cecile - I believe the source of this is App::new() doesn't set up the main schedule, so Do you think a good solution here is documenting the need to set up that schedule when you aren't building on the main schedule, or ensuring it's run by default even if no meta-schedule has been added? |
I agree with your diagnosis of the problem. IMO we should warn about this during |
Not quite, Can the state installation methods check for plugin existence? That'd be the best scenario, we shouldn't implicitly install plugins. |
is_plugin_added is the method you want :) |
Great, I'll have a fix in 10 min |
For the author, you want to add |
# Objective - Fixes #13874 ## Solution - Confirm that the `StatesPlugin` is installed when trying to add states. - Skipped for state scoped entities, since those will warn about missing states.
# Objective - Fixes #13874 ## Solution - Confirm that the `StatesPlugin` is installed when trying to add states. - Skipped for state scoped entities, since those will warn about missing states.
Bevy version
v0.14.0-rc.2
What you did
My library has a similar to the following test code, but it failed after I updated the bevy version from v0.13.2 to v0.14.0-rc2.
What went wrong
Console output:
The text was updated successfully, but these errors were encountered: