Closed PPakalns closed 4 months ago
This was an intentional change. It's also documented in the migration guide. https://bevyengine.org/learn/migration-guides/0-13-to-0-14/#app-changes
App
is notSend
anymore, butSubApp
still is.
See also the PR that made the change https://github.com/bevyengine/bevy/pull/9202
Moving
!Send
resource ownership toApp
will make it unambiguously!Send
and the fundamental issue that lead to this change https://github.com/bevyengine/bevy/discussions/6552
Bevy version
bevy 0.14
What you did
bevy 0.14 doesn't allow bevy_app::App to be sent between threads anymore.
What went wrong
Looks like RunnerFn:
introduces this limitation.
Compiler error:
Additional information
bevy_app::App / Plugins are a very great abstractions that can be used in wide variety of situations and this limits possible use.