WindowDescriptor
has no effect if resource is inserted after .add_plugins(DefaultPlugins)
is called during app construction
#4386
Labels
A-Windowing
Platform-agnostic interface layer to run your app in
C-Bug
An unexpected or incorrect behavior
Bevy version
main as of date of filing (648544f)
Operating system & version
Linux Mint 20.3, X11
What you did
Inserted
WindowDescriptor
resource after calling.add_plugins(DefaultPlugins)
.What you expected to happen
WindowDescriptor
to take effect regardless of order of method calls during app construction.What actually happened
App construction ordering where
WindowDescriptor
works like you would expect:App construction ordering where
WindowDescriptor
does not work like you would expect:Additional information
Repro repo https://github.com/colepoirier/bevy_app_construction_bug_repro.git, first commit is the working version, second commit is the repro of this app construction ordering bug.
Related to #1255
The text was updated successfully, but these errors were encountered: