diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 0352a8314a3..7846cc404a3 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -2168,7 +2168,7 @@ String OS_Windows::get_temp_path() const { temp_path_cache = get_config_path(); } } - return temp_path_cache; + return temp_path_cache.replace("\\", "/").trim_suffix("/"); } // Get properly capitalized engine name for system paths