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

Firefox fails to load any wasm example with bevy builds on main (0.7.0 dev) #4353

Closed
JCBuck opened this issue Mar 28, 2022 · 2 comments
Closed
Labels
C-Bug An unexpected or incorrect behavior O-Web Specific to web (WASM) builds

Comments

@JCBuck
Copy link

JCBuck commented Mar 28, 2022

Bevy version

28ba87e

Operating system & version

Windows 10 x64
Firefox 98.0.2 (64-bit)

What you did

Built WASM of text_debug example with latest main branch as per WASM build instructions in examples readme.

What you expected to happen

The example would load and show text.

What actually happened

Shows just white screen and an error.

Additional information

Firefox will load with WASM builds based on Bevy 0.6.1, but not with builds based on the current main.
Screenshot is showing Chrome (Left) and firefox (right)
image
Points to here
image

Also interestingly enough firefox thinks the gpu is "HD graphics 400", where as chrome shows it as "5500" on a Thinkpad X1 Carbon 3rd gen.
The same thing happens with a W530 with a K1000M gpu, shows up as a gtx 480 if that makes any difference.
image

@JCBuck JCBuck added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Mar 28, 2022
@mockersf
Copy link
Member

mockersf commented Mar 28, 2022

text_debug from d51b54a works in Firefox 98.0 on macOS

@alice-i-cecile alice-i-cecile added O-Web Specific to web (WASM) builds and removed S-Needs-Triage This issue needs to be labelled labels Mar 30, 2022
@JCBuck
Copy link
Author

JCBuck commented Apr 9, 2022

It seems it may be due to non https context in firefox as suggested by this comment in another issue here
#4431 (comment)

@bors bors bot closed this as completed in c46691c May 30, 2022
james7132 added a commit to james7132/bevy that referenced this issue Jun 7, 2022
# Objective
Fixes bevyengine#4353. Fixes bevyengine#4431. Picks up fixes for a panic for `gilrs` when `getGamepads()` is not available. 

## Solution
Update the `gilrs` to `v0.9.0`. Changelog can be seen here: https://gitlab.com/gilrs-project/gilrs/-/commit/dba36f91869c823fb66f8633d2b650b430682f80

EDIT: Updated `uuid` to 1.1 to avoid duplicate dependencies. Added `nix`'s two dependencies as exceptions until `rodio` updates their deps.
ItsDoot pushed a commit to ItsDoot/bevy that referenced this issue Feb 1, 2023
# Objective
Fixes bevyengine#4353. Fixes bevyengine#4431. Picks up fixes for a panic for `gilrs` when `getGamepads()` is not available. 

## Solution
Update the `gilrs` to `v0.9.0`. Changelog can be seen here: https://gitlab.com/gilrs-project/gilrs/-/commit/dba36f91869c823fb66f8633d2b650b430682f80

EDIT: Updated `uuid` to 1.1 to avoid duplicate dependencies. Added `nix`'s two dependencies as exceptions until `rodio` updates their deps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior O-Web Specific to web (WASM) builds
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants