-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
A-AssetsLoad files from disk to use for things like images, models, and soundsLoad files from disk to use for things like images, models, and soundsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy
Description
What problem does this solve or what need does it fill?
Is there a plan for asset error handling? it seems like right now in many cases when not loading assets directly the AssetLoadError is dumped to error! and there's no way for the client to know that it failed to load. Seems like there needs to be an Events or something to close the loop, since AssetEvent doesn't include error cases. Or just make AssetEvent include error cases.
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.
Metadata
Metadata
Assignees
Labels
A-AssetsLoad files from disk to use for things like images, models, and soundsLoad files from disk to use for things like images, models, and soundsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy