doonv/bevy_smooth_pixel_camera

Panic upon closing the window

Opened this issue · 1 comments

Upon closing the window, a panic occurs. Saying that the Window entity doesn't exist. This is a bug caused by bevyengine/bevy#11874.

Could it be an option to run the window systems in e.g. PreUpdate instead to avoid the panic? Or to use get_single instead of single as a defensive measure?