File Watcher panics if asset file_path
starts with ../
#17265
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
C-Bug
An unexpected or incorrect behavior
D-Straightforward
Simple bug fixes and API improvements, docs, test and examples
S-Needs-Investigation
This issue requires detective work to figure out what's going wrong
Bevy version
0.15
What you did
I have the
AssetPlugin
configured like this, which worked fine in past bevy versions (and in 0.15 still at least correctly loads assets from that path):I use a path with
..
here, since my asset directory is in the workspace root, while bevy by default expects it in the crate initializing the engine.What went wrong
Upon changing a file in the assets directory, the file watcher thread panics like this:
Seems like the produced path needs to be normalized somewhere.
The text was updated successfully, but these errors were encountered: