bevy/crates/bevy_asset/src/io
François Mockers 31c2dc591d
ignore files starting with . when loading folders (#11214)
# Objective

- When loading a folder with dot files inside, Bevy crashes:
```
thread 'IO Task Pool (1)' panicked at crates/bevy_asset/src/io/mod.rs:260:10:
asset paths must have extensions
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
- those files are common for other tools to store their
settings/metadata

## Solution

- Ignore files starting with a dot when loading folders
2025-05-05 22:42:01 +00:00
..
embedded Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
file ignore files starting with . when loading folders (#11214) 2025-05-05 22:42:01 +00:00
android.rs Switch bevy_asset to core::prelude (#17442) 2025-01-20 04:14:48 +00:00
gated.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
memory.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
mod.rs Switch bevy_asset to core::prelude (#17442) 2025-01-20 04:14:48 +00:00
processor_gated.rs Switch bevy_asset to core::prelude (#17442) 2025-01-20 04:14:48 +00:00
source.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
wasm.rs fix error and lints when building for wasm32 (#18500) 2025-03-23 22:06:28 +00:00