-
-
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
Unexpected SystemInMultipleBaseSets panic due to on_update #7632
Labels
A-ECS
Entities, components, systems, and events
C-Bug
An unexpected or incorrect behavior
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
Milestone
Comments
NiklasEi
added
C-Bug
An unexpected or incorrect behavior
S-Needs-Triage
This issue needs to be labelled
labels
Feb 11, 2023
alice-i-cecile
added
A-ECS
Entities, components, systems, and events
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
and removed
S-Needs-Triage
This issue needs to be labelled
labels
Feb 11, 2023
NiklasEi
changed the title
0.10 unexpected SystemInMultipleBaseSets panic due to on_update
Unexpected SystemInMultipleBaseSets panic due to on_update
Feb 11, 2023
Agree. Current behaviour is weird, we can't choose to put in which base set when using |
myreprise1
pushed a commit
to myreprise1/bevy
that referenced
this issue
Feb 15, 2023
…engine#7667) # Objective Fixes bevyengine#7632. As discussed in bevyengine#7634, it can be quite challenging for users to intuit the mental model of how states now work. ## Solution Rather than change the behavior of the `OnUpdate` system set, instead work on making sure it's easy to understand what's going on. Two things have been done: 1. Remove the `.on_update` method from our bevy of system building traits. This was special-cased and made states feel much more magical than they need to. 2. Improve the docs for the `OnUpdate` system set.
myreprise1
pushed a commit
to myreprise1/bevy
that referenced
this issue
Feb 15, 2023
…engine#7667) # Objective Fixes bevyengine#7632. As discussed in bevyengine#7634, it can be quite challenging for users to intuit the mental model of how states now work. ## Solution Rather than change the behavior of the `OnUpdate` system set, instead work on making sure it's easy to understand what's going on. Two things have been done: 1. Remove the `.on_update` method from our bevy of system building traits. This was special-cased and made states feel much more magical than they need to. 2. Improve the docs for the `OnUpdate` system set.
myreprise1
pushed a commit
to myreprise1/bevy
that referenced
this issue
Feb 15, 2023
…engine#7667) # Objective Fixes bevyengine#7632. As discussed in bevyengine#7634, it can be quite challenging for users to intuit the mental model of how states now work. ## Solution Rather than change the behavior of the `OnUpdate` system set, instead work on making sure it's easy to understand what's going on. Two things have been done: 1. Remove the `.on_update` method from our bevy of system building traits. This was special-cased and made states feel much more magical than they need to. 2. Improve the docs for the `OnUpdate` system set.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-ECS
Entities, components, systems, and events
C-Bug
An unexpected or incorrect behavior
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
Bevy version
main branch a1e4114
What you did
I am trying to order an exclusive system in a pretty standard way for Plugins using states:
What went wrong
This triggers the unexpected panic
SystemInMultipleBaseSets { system: "Some(System exclusive_system: {is_exclusive})", first_set: "StateTransitions", second_set: "PreUpdate" }'
Additional information
on_update
withrun_if(state_equals(MyStates::State))
removes the panic, but is the exact behaviour I would have expected fromon_update
The text was updated successfully, but these errors were encountered: