Closed ethereumdegen closed 3 months ago
I noticed that the hook PR did make modifications to CommandQueue.rs and other command related files so i wonder if it introduced something bad like this
What are A and B here? Are they systems?
No, they are commands like command.entity(e).spawn and .despawn_recursive
And they inserted in the command queue in the same system (meaning they SHOULD be run in order that they are declared. But that hook makes them run out of order somehow )
Okay sorry nope i found the issue. When source was some and asserted was false, it was causing my other game code to do a " double level load " causing my issue. This isnt an issue with bevy but something very complex on my end.
Bevy version
0.14
I have proven that those two lines of code, when added to that hook, break the ordering constraints of commands elsewhere in my bevy codebase. This means that when those two lines of code are commented out , my commands which i define in order A, B actually execute in the next frame in the order B, A which ends up causing a fatal error in my code which i can not rectify without a massive massive massive rewrite.
It is true that commands are supposed to run in the order declared right?
Something bad is happening w this hook.