-
-
Notifications
You must be signed in to change notification settings - Fork 748
[BUG] attempted to leave type platform::platform::x11::util::input::PointerState
uninitialized
#2524
Comments
Was trying to setup a brand new project using current stable amethyst (0.15.3), and also getting this exact same crash using vulkan on an Intel gpu. Minimal code that causes crash: use amethyst::{
prelude::*,
renderer::{plugins::RenderToWindow, types::DefaultBackend, RenderingBundle},
utils::application_root_dir,
};
struct MainMenuState;
impl SimpleState for MainMenuState {}
fn main() -> amethyst::Result<()> {
amethyst::start_logger(Default::default());
let app_root = application_root_dir()?;
let resources = app_root.join("data");
let display_config = app_root.join("config/display_config.ron");
let game_data = GameDataBuilder::default().with_bundle(
RenderingBundle::<DefaultBackend>::new()
.with_plugin(RenderToWindow::from_config_path(display_config)?),
)?;
let mut game = Application::new(resources, MainMenuState, game_data)?;
game.run();
Ok(())
} display_config.ron:
|
Encountered the same issue. Running on Pop OS 20.04, amd 5700XT, amethyst version 0.15.3 I think it was caused by the recent version of rust 1.48.0 https://github.com/rust-lang/rust/blob/master/RELEASES.md I solved this issue by reverting rust to version 1.47.0 and it fixed the issue |
I have the same issue. |
Look like it would be best to remain on 1.47.0 until winit is updated on amethyst. |
Got the same issue. Only I got nvidia GPU. |
I tried to run the tutorial. I get this error. |
Hi all, thanks for reporting. Our |
hell y'all, if anyone would be kind enough to try out #2554 and see if the issue is resolve that would be most kind. just point your cargo.toml to the branch. it's based on 0.16 legion though so you may need to ask in discord if you get stuck. legion docs are coming soon! refer to the working examples in that PR until then. |
merged to legion_v2 branch if anyone is willing to run those examples |
fixed on legion_v2 by #2554 |
Can you please update the revision of atelier-assets? |
This is still happening for me following the book tutorial
|
Same here, it's because Cargo only fetches the latest crate release, which is 0.15.3 and predates the fix for this bug. Until Amethyst 0.16.0 comes out, you can avoid the bug by going into the project folder and running |
This leads to (on attempting to build
|
Description
Every showcase game and some examples crash after hovering the cursor over the opened window.
Reproduction Steps
cargo run --example animation --features vulkan
Screenshots and Logs
Your Environment
006e70d57f0a30963d4dab91ae947a6433b26734
Additional Context
This is run using vulkan on integrated AMD GPU, which works fine in games. Relevant vulkan packages are also installed, let me know if I should install something else.
The text was updated successfully, but these errors were encountered: