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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
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)