bevy/crates/bevy_asset
super-saturn f8bd5144a5 Fix path checking for FileWatcher for virtual workspace projects (#16958)
# Objective

Fixes #16879

## Solution

Moved the construction of the root path of the assets folder out of
`FileWatcher::new()` and into `source.rs`, as the path is checked there
with `path.exists()` and fails in certain configurations eg., virtual
workspaces.

## Testing

Applied fix to a private fork and tested against both standard project
setups and virtual workspaces. Works without issue on both. Have tested
under macOS and Arch Linux.

---------

Co-authored-by: JP Stringham <jp@bloomdigital.to>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2025-01-03 19:31:46 +01:00
..
macros Release 0.15.0 2024-11-29 01:50:42 +01:00
src Fix path checking for FileWatcher for virtual workspace projects (#16958) 2025-01-03 19:31:46 +01:00
Cargo.toml Release 0.15.0 2024-11-29 01:50:42 +01:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy Asset

License Crates.io Downloads Docs Discord