We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff7e38e commit ca65e39Copy full SHA for ca65e39
crates/bevy_asset/src/io/embedded/mod.rs
@@ -168,7 +168,7 @@ pub fn _embedded_asset_path(
168
file_path: &Path,
169
asset_path: &Path,
170
) -> PathBuf {
171
- let file_path = if cfg!(target_family = "wasm") {
+ let file_path = if cfg!(not(target_family = "windows")) {
172
// Work around bug: https://github.com/bevyengine/bevy/issues/14246
173
// Note, this will break any paths on Linux/Mac containing "\"
174
PathBuf::from(file_path.to_str().unwrap().replace("\\", "/"))
0 commit comments