RenderPlugin::build is unsound
Open
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
Assessment
This issue has not been assessed yet.