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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
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