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
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
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)