App runs but window does not appear and app does not loop #2878
-
I've been working on a template repo for Bevy games and libraries. The file structure is slightly different than the typical: both a When I call
This is isolated to this project, other simple demos and existing projects work totally fine. I suspect the project structure is somehow interacting badly with the default winit-powered runner, but I have no idea how or why. Any thoughts would be welcome! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You don't have the This is expected behaviour As a side note, you need to add the |
Beta Was this translation helpful? Give feedback.
You don't have the
winit
feature enabled in your bevy dependency, so the winit runner isn't on the default pluginsThis is expected behaviour
As a side note, you need to add the
WindowDescriptor
before theDefaultPlugins
, because otherwise it won't be registered properly.