bevy/crates/bevy_asset/src
andriyDev 9bcaad7b43
Canonicalize the root path to match the canonicalized asset path. (#18345)
# Objective

- Fixes #18342.

## Solution

- Canonicalize the root path so that when we try to strip the prefix, it
matches the canonicalized asset path.
- This is basically just a followup to #18023.

## Testing

- Ran the hot_asset_reloading example and it no longer panics.
2025-03-16 21:03:29 +00:00
..
io Canonicalize the root path to match the canonicalized asset path. (#18345) 2025-03-16 21:03:29 +00:00
processor Stop automatically generating meta files for assets while using asset processing. (#17216) 2025-03-06 20:25:40 +00:00
server Stop automatically generating meta files for assets while using asset processing. (#17216) 2025-03-06 20:25:40 +00:00
asset_changed.rs Generic system config (#17962) 2025-03-12 00:12:30 +00:00
assets.rs Renamed EventWriter::send methods to write. (#17977) 2025-02-23 21:18:52 +00:00
direct_access_ext.rs Improve clarity of existing bevy_assets documentation (#17830) 2025-02-13 19:49:25 +00:00
event.rs Fill out some missing docs for bevy_assets (#17829) 2025-02-13 21:08:09 +00:00
folder.rs Fill out some missing docs for bevy_assets (#17829) 2025-02-13 21:08:09 +00:00
handle.rs bevy_reflect: Deprecate PartialReflect::clone_value (#18284) 2025-03-14 19:33:57 +00:00
id.rs Fill out some missing docs for bevy_assets (#17829) 2025-02-13 21:08:09 +00:00
lib.rs Return an error when direct-nested-loading a subasset (#18213) 2025-03-13 16:36:18 +00:00
loader_builders.rs Return an error when direct-nested-loading a subasset (#18213) 2025-03-13 16:36:18 +00:00
loader.rs Return an error when direct-nested-loading a subasset (#18213) 2025-03-13 16:36:18 +00:00
meta.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
path.rs Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
reflect.rs Harden proc macro path resolution and add integration tests. (#17330) 2025-02-09 19:45:45 +00:00
render_asset.rs Fill out some missing docs for bevy_assets (#17829) 2025-02-13 21:08:09 +00:00
saver.rs Remove labeled_assets from LoadedAsset and ErasedLoadedAsset (#15481) 2025-02-10 21:06:37 +00:00
transformer.rs Fill out some missing docs for bevy_assets (#17829) 2025-02-13 21:08:09 +00:00