Closed InnocentusLime closed 2 years ago
This seems to be a duplicate of #63
It also seems like weird behaviour from Bevy itself.
I don't know if it is weird or not. Looking through AssetServer
code, it is revealed, that bevy
handles dependencies asynchronously, but never .await
s them.
This seems to be a duplicate of #63
It also seems like weird behaviour from Bevy itself.
Indeed it is! Closing as a duplicate
In this minimal example the app will crash, since neither bevy's
AssetServer
orbevy_asset_loader
wait for asset dependencies. SoAssetA
gets loaded successfully, but its slow dependency may not be loaded when you enterInGame
state.