mirror of
https://github.com/bevyengine/bevy
synced 2024-11-13 00:17:27 +00:00
4e28fa255d
# Objective - Provides actionable feedback when users encounter the error in https://github.com/bevyengine/bevy/issues/10162 - Complements https://github.com/bevyengine/bevy/pull/10186 ## Solution - Log an error when registering an AssetSource after the AssetPlugin has been built (via DefaultPlugins). This will let users know that their registration order needs changing The outputted error message will look like this: ```rust ERROR bevy_asset::server: 'AssetSourceId::Name(test)' must be registered before `AssetPlugin` (typically added as part of `DefaultPlugins`) ``` --------- Co-authored-by: 66OJ66 <hi0obxud@anonaddy.me> Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |