Search Issue Tracker
Fixed in 2019.3.X
Votes
0
Found in
2018.3.0a4
2019.1.0a1
2019.1.0b4
2019.2.0a1
Issue ID
1132299
Regression
No
Empty folder that was selected for Build is deleted if build fails
How to reproduce:
1. Open the attached "repro.zip" project
2. In Build settings, switch Target Platform is set to "UWP"
3. Click the "Build" button
4. Create an empty folder and select it
5. Build the project
6. Wait for the build process to fail
-- When the build process fails, the folder that was selected for the build is deleted.
Expected: The folder does not get deleted.
Reproducible with - 2018.3.0a4, 2018.3.13f1, 2019.1.0a1, 2019.1.0f2, 2019.2.0a12
Not reproducible with - 2017.4.25f1*, 2018.3.0a1, 2018.3.0a3
* - tested with different project
Notes:
- Folder does not get deleted if it contains any files or folders inside.
- An empty folder that already existed before (not created on step 4), would also be deleted if it was selected for the UWP build and it failed.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment