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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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