Open SolidStateDj opened 6 months ago
I can reproduce this. Although in a different, more complex project (multiple buttons, translated text, various rows and columns) everything works fine on wayland (both with and without the bevy/wayland feature).
UPDATE: after changing unrelated code, my other project now does not work
Running
bevy_iced
under Wayland will cause a crash.The code tested is the
basic.rs
example provided, however, all other examples exhibit the exact same behavior.Additionally, this occurs both when using the officially cloned repo, and when adding
bevy_iced = {git = "https://github.com/tasgon/bevy_iced"}
as a dependency to a separate project. Furthermore, all of the suggested compile time optimizations provided by Bevy have been tested and make no difference.This has been tested on the exact same system under X11, and on a separate MacOS machine which both worked as expected.
I speculate that
extracted_window.swap_chain_texture_view.as_ref().unwrap()
is trying to gain information that it does not have access to under Wayland.