Search Issue Tracker
Fixed
Fixed in 2021.3.45f1, 2022.3.48f1, 6000.0.21f1, 7000.0.0a3
Votes
1
Found in
2021.3.34f1
2022.3.19f1
2023.2.9f1
2023.3.0b5
6000.0.0b11
7000.0.0a1
Issue ID
UUM-62633
Regression
No
FileUtil.ReplaceDirectory throws an uninformative error when the destination path contains a locked file
How to reproduce:
1. Open the attached Project "fileUtilTestFinal.zip"
2. Launch the Application located in "<ProjectPath>/dst/fileUtilTest.exe"
3. In the Unity Editor click "Test/Replace Directory" in the Menu Bar
4. Observe the Console
Expected result: An error stating that the destination path failed to be deleted is thrown
Actual result: An error stating the destination path already exists is thrown
Reproducible with: 2021.3.34f1, 2022.3.19f1, 2023.2.9f1, 2023.3.0b5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment