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
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
- Color Picker preview rectangle doesn’t update when adjusting colors for Specular color field for Terrain Layer
- Character Controller fall through the ground when touches 100 colliders
- Paragraph Spacing and the 'line-height' tag are not working when the Advanced Text Generator is enabled
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.