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
Stageless #47
Stageless #47
Conversation
Fixed tests, whew that was fun. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slowly the crate has too many feature flags 😆
Maybe we could move some of the now duplicated systems into extra files? Then we have the stageless stuff a bit more separated and need less cfg
attributes checking for the feature. E.g. have one mod behind a #[cfg(feature = "stageless")]
containing all the stageless systems and one mod behind #[cfg(not(feature = "stageless"))]
containing all the old systems.
bevy_asset_loader/tests/stageless/can_run_without_next_state.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Niklas Eicker <git@nikl.me>
Thanks, will fix the comments. |
I understood now why the tests are red. Could you split the CI job into one test job for |
Should be good now :) |
It looks like a If you've had enough of fighting with the CI, I could also merge the PR. The CI issues can still be fixed on the |
Haha, this is fine, super smooth comparing to CI at my day job. |
I don't understand, it passes on my machine on windows O_O |
Could you try adding |
I also don't understand what's happening here. The test is green, but the process fails. Locally everything seems fine, too. Thanks again for the implementation 👍 |
Did a stab at implementing stageless. There is some cursed hairiness with ExclusiveSystem traits in bevy/iyes_loopless, so sorry for hairy code at places.
Note that this requires your state to be pre-initialized before AssetLoader, I think it's limitation of how iyes_loopless does State.