Include errors in AssetEvent #11288
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
D-Trivial
Nice and easy! A great choice to get started with Bevy
What problem does this solve or what need does it fill?
-shaen on Discord
What solution would you like?
Include the error modes directly in
AssetEvent
and send them when assets fail to load.What alternative(s) have you considered?
Make a new event type specific to events. This is inferior because it creates two different streams to listen to for no good reason and makes it easy to simply fail to handle the error cases.
The text was updated successfully, but these errors were encountered: