mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
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:
parent
d9a0761eb2
commit
ca37b92540
1 changed files with 1 additions and 1 deletions
|
@ -956,7 +956,7 @@ fn format_missing_asset_ext(exts: &[String]) -> String {
|
|||
exts.join(", ")
|
||||
)
|
||||
} else {
|
||||
String::new()
|
||||
" for file with no extension".to_string()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue