-
Notifications
You must be signed in to change notification settings - Fork 4
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
wasm support #6
Comments
Thank you for your experiments. I will attempt to enable WASM support likely after bevy 0.14 releases in the near future. |
after some investigation, i've discovered that the bevy-async-ecs/examples/basic.rs Lines 16 to 25 in a8a7d3c
|
should be reproducible on this branch https://github.com/databasedav/bevy-async-ecs/tree/wasm_experimenting run with these
and navigate to the served url note i also disabled a bunch of bevy features in the dev dependencies here https://github.com/databasedav/bevy-async-ecs/blob/2db817e65142800347897f9783ccef7bbfb75cf9/Cargo.toml#L23-L36, i think winit might have been causing a separate issue |
Thanks for your effort, I will try to reproduce myself soon 👍 |
I was able to fix this! On the wasm_experimenting branch, modify plugins in the basic example to this:
This appears to resolve a blocking issue (probably adding individual systems from DefaultPlugins could help narrow this down). There was also a separate blocking issue in
The previous implementation used |
@Catchawink thank you for your diagnoses. 0.15 update will come shortly after full release |
just wanted to add some tracking for this
i believe this is blocked on this PR smol-rs/async-io#153, however, when i update the
async-io
dependency toand try to run the basic example following these instructions https://bevy-cheatbook.github.io/platforms/wasm.html, i get the following on when navigating to the served url
on firefox
on chrome
i'm not sure if this is actually relevant to this crate, or i'm just doing something wrong, also wasn't able to find anything about the wgpu backend feature stuff
The text was updated successfully, but these errors were encountered: