Closed
Description
Bevy version
[Optional] Relevant system information
- Windows 10
What you did
Ran cargo run --example hot_asset_reloading --features file_watcher
. Modify the models/torus/torus.gltf
to trigger hot reloading.
What went wrong
Panics:
thread 'notify-rs debouncer loop' panicked at crates\bevy_asset\src\io\file\file_watcher.rs:56:9:
FileWatcher::get_asset_path() failed to strip prefix from absolute path: absolute_path=\\?\E:\Content\bevy\assets\models\torus\torus.glb, root=E:\Content\bevy\assets
Additional information
This appears to be a regression after #18023. Digging in a little, the path before the canonicalize is correct, but after the canonicalize, it gets mangled to include a prefix of "\?".