Search Issue Tracker
Active
Under Consideration for 6000.4.X
Votes
0
Found in
2022.3.68f1
6000.0.62f1
6000.2.11f1
6000.3.0b9
6000.4.0a4
Issue ID
UUM-126025
Regression
No
[iOS] [macOS] Method gets stripped when building for iOS using XCode 26.0 with preserve properties
How to reproduce:
1. Open the “ReproProject.zip“ project
2. Open the “Sample“ scene
3. Build for iOS
4. Open the “Unity-iPhone.xcodeproj“ in Xcode 26.0
5. Deploy to a device
Expected result: Success messages are displayed in the log
Actual result: Failure messages are displayed in the log
Reproducible with: 2022.3.68f1, 6000.0.62f1, 6000.2.11f1, 6000.3.0b9, 6000.4.0a4
Reproducible environment: macOS 15.7 (M4 Max)
Not reproducible environment: No other environment tested
Reproducible with these devices:
macOS 15.7 (M4 Max) Player with Xcode project + IL2CPP Build Support
VLNQA00626, iPhone 16 (MYE73QN/A), CPU: Apple A18 Pro, OS: 18.5
VLNQA00395, iPhone 13 (MLPJ3ET/A), CPU: Apple A15 Bionic, OS: 18.6.1
VLNQA00416, iPhone 13 Pro (MLVA3ET/A), CPU: Apple A15 Bionic, OS: 17.6.1
VLNQA00491, iPhone 14 Pro (MQ083PX/A), CPU: Apple A16 Bionic, OS: 16.0
VLNQA00535, iPhone XS (MT9F2ET/A), CPU: Apple A12 Bionic, OS: 17.6.1
Not reproducible with these devices:
VLNQA00319, Google - (Pixel 4), Android 13, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
Notes:
- Does not reproduce with older Xcode versions (older than Xcode 26.0) (tested with Xcode 16.2)
- Not reproducible in the Editor, Windows IL2CPP Player, macOS IL2CPP Player
- The stripped method has "UnityEngine.Scripting.Preserve" attribute, and the “link.xml“ has “preserve = “all“ “
- Not reproducible with macOS 15.7 (M4 Max) Player with Xcode project with Mono Scripting Backend
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
Add comment