How to reproduce:
1. Open the “ReproProject.zip“ project
2. Open the “SampleScene“
3. Build for iOS
4. Open the “Unity-iPhone.xcodeproj“ in Xcode
5. Open the “Product > Scheme > Edit Scheme > Diagnistics“
6. Enable Metal API Validation
7. Build to a device
Expected result: Build proceeds and application launches without issues
Actual result: Application gets suspended with error “_MTLDebugValidateDeferredStoreActionOnDevice:4367: failed assertion `Deferred Store Action Validation Store action for depth attachment must be one of MTLStoreActionMultisampleResolve or MTLStoreActionStoreAndMultisampleResolve“
Reproducible with: 6000.0.22f1, 6000.0.57f1, 6000.2.3f1, 6000.3.0a1
Not reproducible with: 2022.3.66f1, 6000.0.21f1, 6000.3.0b1
Fixed in: 6000.3.0a2
Reproducible environment: macOS 15.6.1 (M4 Max), macOS 15.6 (M4 Pro) (Reporters)
Not reproducible environment: No other environment tested
Reproducible with these devices:
VLNQA00416, iPhone 13 Pro (MLVA3ET/A), CPU: Apple A15 Bionic, OS: 16.1.1
VLNQA00626, iPhone 16 (MYE73QN/A), CPU: Apple A18 Pro, OS: 18.5
VLNQA00535, iPhone XS (MT9F2ET/A), CPU: Apple A12 Bionic, OS: 17.6.1
Not reproducible with these devices:
VLNQA00232, iPhone 8 Plus (MQ8M2ET/A), CPU: Apple A11 Bionic, OS: 16.7.10
VLNQA00600, iPad Pro (9.7 inch, WiFi), CPU: Apple A9X, OS: 14.8
Note: Did not reproduce on macOS Standalone Xcode project