BD103

Results 131 comments of BD103

Perhaps this could be implemented as a macro instead? That would allow for multiple state types, though I'm not sure how it would be optimized. ```rust .run_if(in_any_state!(AppState::InGame, GameState::Level0)) macro_rules! in_any_state...

> It may be better to add `in_any_state` only for this time. [...] I'm confused, what's your reasoning behind not implementing `in_all_states`? You already have the code for it.

> I'm just wondering if we really need `in_all_states`. It seems that `in_all_states` is limited to special cases? I would ask around on the Discord and see how much people...

After looking at the line number from the panic message, I believe it is raised in [`AssetPath::parse_internal`](https://github.com/bevyengine/bevy/blob/4778fbeb65d840eb39bda017fd428ebfc17a1153/crates/bevy_asset/src/path.rs#L129). https://github.com/bevyengine/bevy/blob/4778fbeb65d840eb39bda017fd428ebfc17a1153/crates/bevy_asset/src/path.rs#L138-L150 My guess is that the code does not like the `C:\` syntax...

So after some testing, absolute paths still seem to work on Unix-based systems, just not Windows. ```rust use bevy::prelude::*; fn main() { App::new() .add_plugins(DefaultPlugins) .add_systems(Startup, setup) .run(); } fn setup(mut...

Yup, especially since only 20 jobs can be run concurrently across the entire Bevy org. Cancelling jobs when a run has already failed frees up room for new jobs. See...

I was unable to reproduce this on my M1 Macbook. I'm guessing this was an unrelated issue with your Mac that was fixed by restarting it. You can probably close...

Making this up for adoption, after some [discussion on Discord](https://discord.com/channels/691052431525675048/692572690833473578/1232865351935594568).

I disagree with this change. `Components` and `Resources` are internal data structures used by `World` and should not be mentioned in the getting started section, even if the links go...

I like what you are suggesting, I'd much prefer switching it to ``[`Entity`]s`` and leaving it at that. @TrialDragon, do you have any thoughts on this?