Search Issue Tracker
Fixed
Votes
0
Found in
2021.3.26f1
2022.3.0f1
2023.1.0b19
Issue ID
UUM-37465
Regression
No
"DirectoryNotFoundException" error when initiating IL2CPP build with a custom script after the folder of a previous build is deleted
Reproduction steps:
1. Open the attached "repro_IN-42522.zip" project
2. Open the Build Settings
3. Check the "Copy PDB files" checkbox and choose "LZ4" in the "Compression Method" dropdown
4. Click "Build" and choose any location you like
5. Once the build is completed, delete the build folder
6. On the Toolbar, select "Build" -> "Build Windows Standalone" to trigger the build process by code
Expected result: Build succeeds and the result folder is the one passed on by the "BuildByScript" script
Actual result: Build fails (“DirectoryNotFoundException” error) as the build pipeline is trying to find the previously deleted folder
Reproduced with: 2021.3.26f1, 2022.3.0f1, 2023.1.0b19, 2023.2.0a17
Fixed in: 2023.2.0a18
Reproduced on: Windows 10
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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-30952