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

Crash on Example #2

Closed
mwbryant opened this issue Apr 8, 2024 · 2 comments
Closed

Crash on Example #2

mwbryant opened this issue Apr 8, 2024 · 2 comments

Comments

@mwbryant
Copy link

mwbryant commented Apr 8, 2024

OS Ubuntu 22.04 crashes on the example with

GDK has not been initialized. Call `gdk::init` or `gtk::init` first.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_wry::setup_webview<simple::Command, simple::Command>`!
Encountered a panic in system `bevy_app::main_schedule::Main::run_main`!
@fgadaleta
Copy link

Same here

@PawelBis
Copy link
Owner

Thanks for the report.

I don't have an access to Linux machine ATM, but I believe that it should be fixed now (X11 only). The caveat is that there is an issue: winit + wry transparency doesn't work properly on linux.

To work around that I added an Anchor + multi webview support, so now you can use webviews as widgets.

Also, I replaced the simple example with fullscreen and anchor examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants