mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 22:20:20 +00:00
e549f14359
# Objective - Currently, when calling any of the `AssetServer`'s `load` functions, if the extension does not exist for the given path, the returned handle's load state is always `LoadState::NotLoaded`. - This is due to the `load_async` function early returning without properly creating a `SourceInfo` for the requested asset. - Fixes #2261 ## Solution - Add the `SourceInfo` prior to checking for valid extension loaders. And set the `LoadState` to `Failed` if the according loader does not exist. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |