You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am combining both this crate and bevy_asset_loader. However I am getting an occasional error where clicking too fast to skip will crash the game. I've traced this to the fact that the splash_skip function runs in any state and therefore when my app is in the loading state clicking will skip to the game state before its loaded and will cause systems to crash because the game hasnt been properly loaded.
Solution
If splash_skip is given a .run_if(in_state(self.state.clone())) then it should fix these issues and correctly only let the splash be skipped when its actually being run
The text was updated successfully, but these errors were encountered:
I am combining both this crate and bevy_asset_loader. However I am getting an occasional error where clicking too fast to skip will crash the game. I've traced this to the fact that the
splash_skip
function runs in any state and therefore when my app is in the loading state clicking will skip to the game state before its loaded and will cause systems to crash because the game hasnt been properly loaded.Solution
If
splash_skip
is given a.run_if(in_state(self.state.clone()))
then it should fix these issues and correctly only let the splash be skipped when its actually being runThe text was updated successfully, but these errors were encountered: