Steps to reproduce:
1. Open the “ReproProject.zip” project
2. Enable Development Build and Script Debugging in Build Settings
3. Build and Run
4. In Xcode deploy the project on the device
Expected result: Does not throw any errors
Actual result: Throws bad access violation error at boot
Reproducible with: 3.0.34 (2022.3.59f1, 6000.0.40f1, 6000.1.0b8, 6000.2.0a5)
Not reproducible with: 3.0.31 (2022.3.59f1, 6000.0.40f1)
Reproducible environment: macOS 15.2 (M4 Max)
Not reproducible environment: No other environment tested
Reproducible with these devices:
VLNQA00535, iPhone XS (MT9F2ET/A), CPU: Apple A12 Bionic, GPU: Apple designed, OS: 17.6.1
VLNQA00416, iPhone 13 Pro (MLVA3ET/A), CPU: Apple A15 Bionic, GPU: Apple designed, OS: 16.1.1
VLNQA00626, iPhone 16 (MYE73QN/A), CPU: Apple A18 Pro, GPU: Apple designed, OS: 18.0.1
VLNQA00232, iPhone 8 Plus (MQ8M2ET/A), CPU: Apple A11 Bionic, GPU: Apple designed, OS: 16.7.10
VLNQA00600, iPad Pro (9.7 inch, WiFi), CPU: Apple A9X, GPU: Apple designed, OS: 14.8
Not reproducible with these devices:
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
Notes:
- In the iOS Player Settings “Strip Engine Code“ has to be enabled
- Requires JetBrains Rider Editor (com.unity.ide.rider) package to be added for reproduction to happen (Issue does not reproduce with the Code Editor Package for Visual Studio)