Skip to content

AssetServer::load_folder does not return enough information to be useful #8562

@alice-i-cecile

Description

@alice-i-cecile

Bevy version

0.10.1

What you did

Called AssetServer::load_folder, attempting to validate that all of my assets are loading as part of a CI check.

What went wrong

Rather than receiving any identifying information about the nature of these handles (such as the asset loader used, or their path), it's a vec with no additional metadata.

Additional information

Users can then use these handles in AssetServer::get_load_path to retrieve the metadata.

This is not obvious to do: handles need to be categorized immediately upon storage to be useful for most workflows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsC-UsabilityA targeted quality-of-life change that makes Bevy easier to use

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions