-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Asset error doesn't say which asset is missing #10438
Comments
Hi, I'd like to take this up as my first issue! Just to make sure that I understand correctly: would this require changing the |
Yup! The easiest option is to remove the |
Awesome, thanks! |
# Objective Addresses #[10438](#10438) The objective was to include the failing path in the error for the user to see. ## Solution Add a `path` field to the `ReadAssetBytesError::Io` variant to expose the failing path in the error message. ## Migration Guide - The `ReadAssetBytesError::Io` variant now contains two named fields instead of converting from `std::io::Error`. 1. `path`: The requested (failing) path (`PathBuf`) 2. `source`: The source `std::io::Error` --------- Co-authored-by: Alice Cecile <[email protected]>
i think this can be closed? |
# Objective Addresses #[10438](bevyengine#10438) The objective was to include the failing path in the error for the user to see. ## Solution Add a `path` field to the `ReadAssetBytesError::Io` variant to expose the failing path in the error message. ## Migration Guide - The `ReadAssetBytesError::Io` variant now contains two named fields instead of converting from `std::io::Error`. 1. `path`: The requested (failing) path (`PathBuf`) 2. `source`: The source `std::io::Error` --------- Co-authored-by: Alice Cecile <[email protected]>
My testing shows this is fixed indeed. Closed by #10450 |
What problem does this solve or what need does it fill?
Error is difficult to address
2023-11-08T00:09:15.785413Z ERROR bevy_asset::server: encountered an io error while loading asset: The system cannot find the file specified. (os error 2)
What solution would you like?
I would like to know which file is missing.
What alternative(s) have you considered?
I can find out, but it will take me time. I think it is much better if the error message is complete.
The text was updated successfully, but these errors were encountered: