bevyengine / bevyengine/bevy

Crash on startup due to failure to get a DeviceDescriptor

Open
#16,463 5 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug C-Startup I-Crash S-Needs-Design
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

Bevy 0.15-rc.3

## Relevant system information

![Image](https://github.com/user-attachments/assets/22443cc2-330c-404c-9c76-9113e58b0f33)
![Image](https://github.com/user-attachments/assets/12ecd9ce-8fac-41c2-a03d-0f5e78847ef9)

## What you did

Made a very simple bevy app (spawn a sprite and press f to toggle fullscreen).

## What went wrong

Bevy crashed immediately on the computer of a play tester. It didn't crash on 0.14.2. Also it works normally on my pc (also windows 10, and I send the .exe to the playtester).

## Additional information

It crashes on line 363 in the file bevy_render/src/renderer/mod.rs.
This is the line that crashes:
```rs
let (device, queue) = adapter
.request_device(
&wgpu::DeviceDescriptor {
label: options.device_label.as_ref().map(AsRef::as_ref),
required_features: features,
required_limits: limits,
memory_hints: options.memory_hints.clone(),
},
options.trace_path.as_deref(),
)
.await
.unwrap();
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.