The published web examples panic when opening Print dialog #12434
Labels
A-Windowing
Platform-agnostic interface layer to run your app in
C-Bug
An unexpected or incorrect behavior
O-Web
Specific to web (WASM) builds
Bevy version
ATOW, if I'm not mistaken, the web examples are using latest Bevy 0.13
What you did
File > Print...
or pressingCtrl+P
orCmd+P
print()
in the JS consoleWhat went wrong
The print dialog opens successfully, and even shows a picture of the canvas at the time of opening the dialog:
However, Bevy panics at
wasm_example.js:494 panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.10/src/platform_impl/web/web_sys/resize_scaling.rs:129:9: created media query doesn't match, 2 != 2
Additional information
debug_assert!
(this one), which shouldn't crash on release buildsThe text was updated successfully, but these errors were encountered: