Search Issue Tracker
Fixed
Fixed in 2022.3.67f1, 6000.0.58f1, 6000.2.4f1, 6000.3.0a6
Votes
3
Found in
2021.3.53f1
2022.3.63f1
6000.0.51f1
6000.1.9f1
6000.2.0b7
6000.3.0a2
Issue ID
UUM-109815
Regression
No
Files in the target folder are deleted without a proper warning when building an iOS project
Reproduction steps:
1. Create a new project for the iOS platform
2. In Build Settings window (File > Build Settings…), select Build
3. In the opened navigation window, choose a folder that already has files
4. In the warning pop-up regarding version and different target device setting, select Replace
Expected result: A warning that all folder contents will be deleted is presented, or the Xcode project is built in a new folder in the chosen directory
Actual result: All files in the chosen folder are deleted
Reproducible with: 2021.3.53f1, 2022.1.0a1, 2022.3.63f1, 6000.0.51f1, 6000.1.9f1, 6000.2.0b7
Reproducible on: macOS Sequoia 15.5 (M1 Max)
Not reproducible on: Windows 11
Notes:
- On Windows 11, a warning is shown that all files and folders in the target folder will be deleted and the full path of the target folder is displayed
- If the Editor does not find the folder where the previous build was done, it defaults to “Documents” folder (on macOS), which could result in massive data loss if confirmed unattentively
Comments (1)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
chan_unity
Jul 03, 2025 19:15
Currently working off a MacBook Pro 2019 that is using macOS 15.2(24C101).
I am having the same issue where after attempting to an iOS build the build folder and all files within are deleted.
The build folder and files appears up until the PostProcess Player phase. Upon which, the build folder and all within are deleted.