-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assets V2 - Error whilst using load_context.load_direct() to load a LoadedFolder asset #9932
Comments
Yup However in loaders and processors, we do not currently have a We need to be able to re-run processors whenever the "processor dependencies" change (aka "x_direct" calls). Currently, with For some |
That makes sense - thank you! Might be worth adding this under the 'Things to Investigate' section in #9714? |
Bevy version
0.12-dev
What you did
I'm trying to implement a many -> 1 AssetLoader for item assets in my game.
e.g. there could be 100s of item assets, and I just want to combine them into one ItemMap asset.
Rather than manually maintaining a meta asset which just lists out the paths to each of these item assets, I'm trying to use a LoadedFolder within the AssetLoader to retrieve every item asset within a directory.
e.g.
I've uploaded an example repo here: https:/66OJ66/preprocessing_loaded_folder_testing
What went wrong
In short, this approach yields an error:
even though the
items
directory exists.Possibly
load_context.load_direct
isn't designed to handle LoadedFolder assets?The text was updated successfully, but these errors were encountered: