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
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
- Element name field has no character limit in UI Builder
- Async method in Play Mode being aborted when calling `new System.Windows.Forms.Form`
- Animator window Eye button on click visual does not cover the whole area of the button when clicked
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)