mirror of
https://github.com/bevyengine/bevy
synced 2024-11-27 07:00:18 +00:00
c0f8338697
# Objective When you have no idea what to put after `#` when loading an asset, error message may help. ## Solution Add all labels to the error message. ## Test plan Modified `anti_alias` example to put incorrect label, the error is: ``` 2024-01-08T07:41:25.462287Z ERROR bevy_asset::server: The file at 'models/FlightHelmet/FlightHelmet.gltf' does not contain the labeled asset 'Rrrr'; it contains the following 25 assets: 'Material0', 'Material1', 'Material2', 'Material3', 'Material4', 'Material5', 'Mesh0', 'Mesh0/Primitive0', 'Mesh1', 'Mesh1/Primitive0', 'Mesh2', 'Mesh2/Primitive0', 'Mesh3', 'Mesh3/Primitive0', 'Mesh4', 'Mesh4/Primitive0', 'Mesh5', 'Mesh5/Primitive0', 'Node0', 'Node1', 'Node2', 'Node3', 'Node4', 'Node5', 'Scene0' ``` |
||
---|---|---|
.. | ||
io | ||
processor | ||
server | ||
assets.rs | ||
event.rs | ||
folder.rs | ||
handle.rs | ||
id.rs | ||
lib.rs | ||
loader.rs | ||
meta.rs | ||
path.rs | ||
reflect.rs | ||
saver.rs |