#`process didn't exit successfully (exit code 101)` on runtime

2 messages · Page 1 of 1 (latest)

halcyon lodge
#

Windows 10 home 22H2, HD Graphics 530, AMD R7 M360, all are up to date
bevy 0.9.0, rust 1.67.0-nightly, nightly-x86_64-pc-windows-msvc

Config.toml

[dependencies.bevy]
version = "0.9.0"
default-features = false
features = [
    "bevy_sprite",
    "bevy_render",
    "bevy_core_pipeline",
    "bevy_winit",
    "png",
    "trace",
    "x11",
    "wayland",
]

This code

#![windows_subsystem = "windows"]

// -- imports --

fn main() {
    eprintln("test");
    App::new()
        .add_plugins(DefaultPlugins)
        .run()
}

doesn't run on WGPU_BACKEND=dx12, gl, vulkan, dx11, or [unspecified],
it always

  • shows a white background, then
  • either
    • goes unresponsive, or
    • shows a black background, then
    • goes unresponsive

This shows up in console on cargo run and cargo run --features bevy/dynamic:

     Running `target\debug\[app name].exe`
error: process didn't exit successfully: `target\debug\[app name].exe` (exit code: 101)

Process finished with exit code 101

"test" on stderr doesn't show up. I've tried using color-eyre and RUST_BACKTRACE=full to force it to spew out more debug info but the above is the max it goes

~/.cargo/config.toml, global config and ./cargo/config.toml, project config

[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"
rustflags = ["-Zshare-generics=n"]

thanks for your help :)

lost jasper
#

Setting the windows subsystem means no console (unless you reattach) so both your eprintln and any errors are disappearing into the void