# Objective - The tigger_screenshots system gets added in `.build()` but relies on a resource that is only inserted in `.finish()` - This isn't a bug for most users, but when doing headless mode testing it can technically work without ever calling `.finish()` and did work before bevy 0.15 but while migrating my work codebase I had an issue of test failing because of this ## Solution - Move the trigger_screenshots system to `.finish()` ## Testing - I ran the screenshot example and it worked as expected |
||
|---|---|---|
| .. | ||
| mod.rs | ||
| screenshot.rs | ||
| screenshot.wgsl | ||