Asset hot reloading doesn't reload files that initially failed to load
Open
A-Assets
C-Bug
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## Bevy version
0.9.0
## What you did
Loaded a custom asset file that failed to load (syntax error in file), I then modified (fixed) the file.
## What went wrong
The asset did not hot reload.
## Additional information
If I call ```asset_server.load("my_asset.txt")``` every game loop, the asset loader will repeatedly try to load the file, when it should only do so after the file has been modified and hot reloaded.
I have provided some example code.
[test_hot_reload.zip](https://github.com/bevyengine/bevy/files/10569520/test_hot_reload.zip)
In the ```assets/test.txt``` file, change the value to ```ok``` for the asset loading to succeed and anything else to fail.
Contributor guide
Assessment
This issue has not been assessed yet.