-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
A-AssetsLoad files from disk to use for things like images, models, and soundsLoad files from disk to use for things like images, models, and soundsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior
Description
Bevy version
0.18
What you did
// Load a labeled sub-asset that doesn't exist.
let handle = asset_server.load::<AssetType>("asset#non_existent_subasset");
// Or does exist, but is not of type `WrongAssetType`.
let handle = asset_server.load::<WrongAssetType>("asset#subasset");
// Or where the asset loader returns an error.
let handle = asset_server.load::<AssetType>("malformed_asset#subasset");What went wrong
I expected AssetServer::get_load_state(handle) to eventually return LoadState::Failed with an appropriate error. But instead it gets stuck in LoadState::Loading.
Metadata
Metadata
Assignees
Labels
A-AssetsLoad files from disk to use for things like images, models, and soundsLoad files from disk to use for things like images, models, and soundsC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behavior