hello my bevy project has suddenly stopped working, so as a test i created an example project, with the following code:
// main.rs
use bevy::prelude::*;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.run();
}
# Cargo.toml
[package]
name = "please_work"
version = "0.1.0"
edition = "2024"
[dependencies]
bevy = "0.16.1"
and like my original project, a window appears then disappears, and i get this in the console:
thread 'main' panicked at /home/.../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-24.0.5/src/backend/wgpu_core.rs:3432:18:
wgpu error: Validation Error
Caused by:
In Surface::configure
Invalid surface
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::view::window::create_surfaces`!
any help would be appreciated
edit: for context, here's the output with RUST_BACKTRACE=1: https://pastebin.com/PtYGikzi
please @ to reply