bevy/crates/bevy_asset/src
François c8f61c3963
create imported asset directory if needed (#9716)
# Objective

- Related to #9715 
- Example `asset_processing` logs the following error:
```
thread 'IO Task Pool (1)' panicked at 'Failed to initialize asset processor log. This cannot be recovered. Try restarting. If that doesn't work, try deleting processed asset folder. No such file or directory (os error 2)', crates/bevy_asset/src/processor/mod.rs:867:25
```

## Solution

- Create the log directory if needed

---------

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2023-09-07 20:47:42 +00:00
..
io Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
processor create imported asset directory if needed (#9716) 2023-09-07 20:47:42 +00:00
server Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
assets.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
event.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
folder.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
handle.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
id.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
lib.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
loader.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
meta.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
path.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
reflect.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
saver.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00