Skip to content
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

Folder collection loading doesn't seem to work on Android #213

Closed
Selene-Amanita opened this issue May 17, 2024 · 4 comments
Closed

Folder collection loading doesn't seem to work on Android #213

Selene-Amanita opened this issue May 17, 2024 · 4 comments

Comments

@Selene-Amanita
Copy link

Selene-Amanita commented May 17, 2024

This feature: https://github.com/NiklasEi/bevy_asset_loader?tab=readme-ov-file#folders

The readme says it doesn't work on web builds, but it doesn't seem to work on android either, the resulting HashMap is empty.

It works as intended on PC and iPhone, and other assets (not loaded from folder) load on android.

Enumeration of file path ( https://github.com/NiklasEi/bevy_asset_loader?tab=readme-ov-file#list-of-paths ) works as intended on android too.

@NiklasEi
Copy link
Owner

Could you test with the vanilla Bevy load_folder please?

@Selene-Amanita
Copy link
Author

Selene-Amanita commented May 20, 2024

I don't have a device readily available sorry but kgv/bevy_fluent#43 suggests the vanilla Bevy load_folder doesn't work either. I think that should be reflected on bevy_asset_loader's README?

@NiklasEi
Copy link
Owner

Android should work by now: bevyengine/bevy#11495

I will add a note to the readme for missing web support.

@NiklasEi
Copy link
Owner

The readme actually already says "Loading folders is not supported for web builds. If you want to be compatible with Wasm, load you handles from a list of paths instead (see next section)." at the end of the folders section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants