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

Fix multiple windows when a window is spawned later #332

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jabuwu
Copy link

@jabuwu jabuwu commented Dec 8, 2024

If multiple windows are spawned at Startup, they all work correctly. If a window is spawned later in Update, they do not work. Input works, but rendering does not.

I'm not sure if this is the right solution to this problem, as I don't understand how the new RenderEntity works. At the time Window is added, RenderEntity does not yet exist on the entity. However, at the time EguiContext is added, it does exist.

@OwlyCode
Copy link

I'm encountering the issue as well, I use the F1 key to toggle a debug window in my game and it's empty after updating to bevy 0.15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants