bevy_web_asset
bevy_web_asset copied to clipboard
Bevy asset loader that transparently supports loading over http(s)
It's happening because the filesystem watcher implementation in bevy tries to downcast the asset io to FileAssetIO. Since we're wrapping it, that downcast fails, and nothing happens. Bevy issue: https://github.com/bevyengine/bevy/issues/1414
Servers like the osm tile servers require a user agent to be able to rate limit bots and apps
Currently, if the response is a http error, we just blindly pass the payload on to the asset loader, which will most likely fail. On certain http error codes it...
When the user has a poor connection and the server can't be reached, we just warn and report the asset as `AssetIoError::NotFound`. However, it probably makes sense to retry if...
### Bug I am getting this error when trying to load more than one web asset. ``` ERROR bevy_asset::server: Encountered an I/O error while loading asset: unexpected status code 500...
When load a gltf asset, bevy will use crate `bevy_glft` and its loader. ```rs app.add_plugins(( WebAssetPlugin, DefaultPlugins.set(WindowPlugin { primary_window: Some(Window { title: "test".to_string(), ..default() }), ..default() }), )) ``` ```rs...
This PR switches the client to ureq using a AsyncComputeTaskPool to make requests non-blocking. Its a optional follow-up to my PR: - #35 requires bevy_tasks with `multi_threaded` feature, otherwise Task...
This PR adds 3 features: - Headers - Query params - ability to use URLs which don't end in a file extension, by adding a "fake" extension with 2 dots:...
Not 100% satisfied with this solution, but does seem functional. Looking for feedback/suggestions.