mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
bb1538a139
# Objective Fixes #3250 ## Solution Since this panic occurs in bevy_ecs, and StartupStage is part of bevy_app, we really only have access to the Debug string of the `stage_label` parameter. This led me to the hacky solution of comparing the debug output of the label the user provides with the known variants of StartupStage. An alternative would be to do this error handling further up in bevy_app, where we can access StartupStage's typeid, but I don't think it is worth having a panic in 2 places (_ecs, and _app). |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |