Bevy StateTransitionSteps
set is registered in app methods instead of states plugin
#13920
Labels
A-App
Bevy apps and plugins
A-ECS
Entities, components, systems, and events
C-Bug
An unexpected or incorrect behavior
D-Trivial
Nice and easy! A great choice to get started with Bevy
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
Problem
Anything added to system set
StateTransitionSteps
before state-related app calls will not be ordered correctly.Solution
Move
setup_state_transitions_in_world(self.world_mut(), Some(Startup.intern()));
toStatesPlugin
from app methods.The text was updated successfully, but these errors were encountered: