Search Issue Tracker
Fixed
Fixed in 2021.3.36f1, 2022.3.21f1, 2023.2.13f1, 2023.3.0b7
Votes
0
Found in
2021.3.32f1
2022.3.13f1
2023.1.20f1
2023.2.0f1
2023.3.0a14
Issue ID
UUM-55979
Regression
Yes
[Windows] Double backslash becomes single backslash when passing it to the command line argument
Reproduction steps:
1. Build the attached project “TestProject” with the following command line: “Unity.exe -batchmode -timestamps -nographics -quit -projectPath "[PROJECT_PATH]" -buildWindowsPlayer "[BUILD_FOLDER_PATH]\build.exe" -logFile "[BUILD_FOLDER_PATH]\log.txt" -intermediateDirectoryPath="\\serverName\..\.."“
2. Open "[BUILD_FOLDER_PATH]\log.txt"
3. Search the string "-intermediateDirectoryPath="
Expected result: “-intermediateDirectoryPath=\\serverName\..\..” is saved as a path for networked location
Actual result: “-intermediateDirectoryPath=\serverName\..\..” is saved in the log.txt
Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0f1, 2023.3.0a14
Reproducible on: Windows 10
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment