You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Older (before Bevy 0.12) versions of bevy_fluent supported providing a Vec of asset handles for the locale bundles.
The current (Bevy 0.12) version switched to using LoadedFolder (new API that came with the Bevy 0.12 assets rework).
However, some platforms do not support the asset_server.load_folder API. Notably Web/WASM and Android.
I can no longer run projects that use bevy_fluent on these platforms.
I want to make a mobile port of my game, but it seems like it is no longer possible, because LocalizationBuilder requires LoadedFolder.
Can you please also support using a simple Vec of asset handles instead?
It would also have the benefit that it would allow me to organize my locale assets differently if I want, instead of requiring them to be all in a single folder.
The text was updated successfully, but these errors were encountered:
A way to get around it with bevy_asset_loader is to have a Vec<UntypedHandle> and then have a system/resource like that when it finishes loading the vec (OnExit(LoadedState)):
Older (before Bevy 0.12) versions of bevy_fluent supported providing a Vec of asset handles for the locale bundles.
The current (Bevy 0.12) version switched to using
LoadedFolder
(new API that came with the Bevy 0.12 assets rework).However, some platforms do not support the
asset_server.load_folder
API. Notably Web/WASM and Android.I can no longer run projects that use
bevy_fluent
on these platforms.I want to make a mobile port of my game, but it seems like it is no longer possible, because
LocalizationBuilder
requiresLoadedFolder
.Can you please also support using a simple Vec of asset handles instead?
It would also have the benefit that it would allow me to organize my locale assets differently if I want, instead of requiring them to be all in a single folder.
The text was updated successfully, but these errors were encountered: