Search Issue Tracker
Fixed
Votes
1
Found in
2020.3.44f1
2021.3.16f1
2022.2.3f1
2023.1.0b1
2023.2.0a1
Issue ID
UUM-25819
Regression
No
"DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
How to reproduce:
1. Open the attached project “BuildLocationBug.zip“
2. Build the project in folder A (Window>Test>Build)
3. Build the project in folder B (File>Build Settings…>Build)
4. Delete folder B
5. Repeat step 2
Expected result: Project is built
Actual result: “DirectoryNotFoundException: The path …/folder B does not exist.“ error in the Console
Reproducible with: 2020.3.44f1, 2021.3.16f1, 2022.2.3f1, 2023.1.0b1
Reproduced on: Windows 10 (19044.2486)
Not reproducible on: macOS 13.0.1 (Intel)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-30952