Sprites become corrupted at random as more sprites are spawned
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version
0.6.1
## Operating system & version
Pop!_OS 21.10
## What you did
I simply had a system to spawn fireballs from a player position on click. After extensive testing, I've determined that any sort of sprite spawning at all has a chance to cause this, even on a fixed timestep.
## What you expected to happen
Sprites should show up on the screen and work as normal.
## What actually happened
The sprites gradually became corrupted at random as more sprites are spawned. As an example:

The affected sprites seem to be completely random - sometimes the fireballs are corrupted, while other times the player sprite is the one corrupted.
## Additional information
My graphics card information as given by bevy:
```
INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce GTX 960M", vendor: 4318, device: 5019, device_type: DiscreteGpu, backend: Vulkan }
```
I believe this may be an issue specific to my system, though I have no idea how I'd begin debugging it.
**EDIT:** Here's a repo for the code that consistently reproduces the bug for me: [link](https://github.com/ProspectPyxis/bevy-sprite-corruption-example)
Contributor guide
Assessment
This issue has not been assessed yet.