bevy/crates/bevy_asset/src/io
Mark Nevill d974b8210e
Include asset path in get_meta_path panic message (#11504)
# Objective

- Fixes a hurdle encountered when debugging a panic caused by the file
watcher loading a `.gitignore` file, which was hard to debug because
there was no file name in the report, only `asset paths must have
extensions`

## Solution

- Panic with a formatted message that includes the asset path, e.g.
`missing expected extension for asset path .gitignore`

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: Doonv <58695417+doonv@users.noreply.github.com>
2024-01-25 08:00:36 +00:00
..
embedded Fix embedded watcher to work with external crates (#11370) 2024-01-16 15:18:16 +00:00
file auto create imported asset folder if needed (#11284) 2024-01-21 09:30:43 +00:00
android.rs Update winit dependency to 0.29 (#10702) 2023-12-21 07:40:47 +00:00
gated.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
memory.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
mod.rs Include asset path in get_meta_path panic message (#11504) 2024-01-25 08:00:36 +00:00
processor_gated.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
source.rs auto create imported asset folder if needed (#11284) 2024-01-21 09:30:43 +00:00
wasm.rs Added AssetLoadFailedEvent, UntypedAssetLoadFailedEvent (#11369) 2024-01-17 21:12:00 +00:00