bevy/crates/bevy_asset
Carter Anderson 02943737b2
Return an error when loading non-existent labels (#9751)
# Objective

Calling `asset_server.load("scene.gltf#SomeLabel")` will silently fail
if `SomeLabel` does not exist.

Referenced in #9714 

## Solution

We now detect this case and return an error. I also slightly refactored
`load_internal` to make the logic / dataflow much clearer.

---------

Co-authored-by: Pascal Hertleif <killercup@gmail.com>
2023-10-15 18:36:51 +00:00
..
macros Fix unused variable warning for simple AssetV2 derives (#9961) 2023-09-29 08:08:13 +00:00
src Return an error when loading non-existent labels (#9751) 2023-10-15 18:36:51 +00:00
Cargo.toml Multiple Asset Sources (#9885) 2023-10-13 23:17:32 +00:00