Make loading warning for no file ext more descriptive (#10119)

# Objective

Currently, the asset loader outputs 
```
2023-10-14T15:11:09.328850Z  WARN bevy_asset::asset_server: no `AssetLoader` found
```
when user forgets to add an extension to a file. This is very confusing
behaviour, it sounds like there aren't any asset loaders existing.

## Solution

Add an extra message on the end when there are no file extensions.
This commit is contained in:
Dworv 2023-10-14 15:54:57 -07:00 committed by GitHub
parent d9a0761eb2
commit ca37b92540
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -956,7 +956,7 @@ fn format_missing_asset_ext(exts: &[String]) -> String {
exts.join(", ")
)
} else {
String::new()
" for file with no extension".to_string()
}
}