Description
Bevy version
current main version - 0.15
What you did
I wanted to try out a new engine (Bevy) and started following the "Get Started" documentation. Things went off track when I tried to use app.add_systems
It seemed like such a basic and straightforward function that should definitely work, so I feel like I must be missing something. But for some reason, it just doesn't work—the simplest example code doesn't run for me. Everything else I've tested so far works perfectly fine for me. Fot example connecting plugins. When installing rust and bevy, I strictly followed the provided instructions. Also example was working for me.
use bevy::prelude::*;
fn main() {
let mut app = App::new();
app.add_systems(Startup, hello_world);
app.run();
}
fn hello_world() {
println!("hello world");
}
Windows 11.
What went wrong
INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon RX 6700 XT", vendor: 4098, device: 29663, device_type: DiscreteGpu, driver: "AMD proprietary driver", driver_info: "24.4.1 (AMD proprietary shader compiler)", backend: Vulkan }
error: process didn't exit successfully: target\debug\my_bevy_game.exe
(exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)