Open
Description
Bevy version
v0.15.1
[Optional] Relevant system information
MacOS
What you did
- Using a workspace. The asset dir is at the root level and binaries are in a
bins
directory. - Set the
BEVY_ASSET_ROOT
env variable to{CARGO_MANIFEST_DIR}/../../assets
. - Enabled the
embedded_watcher
feature. - Ran the binary with
cargo run -p <my_binary>
.
What went wrong
Building the AssetPlugin takes ~5-10 seconds. Profiling exposed EmbeddedWatcher::new
-> notify_debouncer_full::Debouncer::watch
as the culprit.
My guess is the debouncer doesn't like it when the root
path passed in has /../
. Possibly related to #17265