Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic upon closing the window #4

Open
doonv opened this issue Feb 17, 2024 · 1 comment · May be fixed by #7
Open

Panic upon closing the window #4

doonv opened this issue Feb 17, 2024 · 1 comment · May be fixed by #7
Labels
bug Something isn't working

Comments

@doonv
Copy link
Owner

doonv commented Feb 17, 2024

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

@doonv doonv added the bug Something isn't working label Feb 17, 2024
@msvbg
Copy link
Contributor

msvbg commented Feb 20, 2024

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?

@msvbg msvbg linked a pull request Feb 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants