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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-30952