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
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
- [Android] [Vulkan] "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT" not added on some Android devices in "com.unity3d.player.UnityPlayerActivity/2D Colour Attachement"
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
- [HDRP] Text is rendered with artefacts when using STP and resolution scale is set a float 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)