Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
Issue ID
1401188
Regression
No
[iOS] [Metal] Metal error is thrown when running project on older iOS devices
Reproduction steps:
1. Open the user's attached project
2. Build and Deploy the "VisualizerCpu" Scene to an iOS device
3. Observe the Xcode Console
Expected result: No errors are thrown in the Console
Actual result: The following error is thrown in the Console:
"Metal: Error creating compute pipeline state: Internal error during compute function compilation"
Reproducible with: 2019.4.36f1, 2020.3.29f1, 2021.2.12f1, 2022.1.0b8, 2022.2.0a5
Reproduced on:
- iPhone 6 (iOS 12.4.8)
- iPhone 7 (iOS 12.3.1)
Did not reproduce on:
- iPhone 12 Mini (iOS 14.1)
- iPhone 13 (iOS 15.0)
- iPad Air 4th Gen (iOS 15.2.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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Resolution Note:
Older iOS devices appear to be too old to be able to run either of these compute shaders.
A potential workaround for Barracuda shaders is to use the Pixel Shader Barracuda worker. Make sure to use 2.3.0 or later Barracuda version:
WorkerFactory.CreateWorker(WorkerFactory.Type.PixelShader, model)