Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X
Votes
3
Found in
2021.3.53f1
2022.3.63f1
6000.0.51f1
6000.1.9f1
6000.2.0b7
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
- Project window selection is not updated when search term is changed
- Error when adding valid MonoBehaviour script to Prefab in Project window
- Editor Launch Screen will close when Enter is pressed on it
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
- [Android] Permission window is not shown when using a Build App Bundle (Google Play) with Minify set to Release
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.