Search Issue Tracker
Fixed in 2021.3.28f1
Fixed in 2023.2.0a18
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
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note (fix version 2021.3.28f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-30952
Resolution Note (fix version 2023.2.0a18):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-30952