bevyengine / bevyengine/bevy

RenderPlugin::build is unsound

Open
#16,708 2 comments 0 reactions 0 assignees View on GitHub
A-App A-Rendering A-Windowing C-Bug D-Straightforward I-Unsound S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version

0.15

## Info

There is nothing stopping users from calling `RenderPlugin::build` on a non-main thread, which breaks the safety "invariants" that it will only be called from the main thread.

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.