Search Issue Tracker
Fixed
Fixed in 2020.2.X
Votes
0
Found in
2020.1.16f1
2020.2
Issue ID
1307706
Regression
No
[Metal][iOS] GPU crash when warming up shaders with DOTS_INSTANCING_ON keyword
Reproduction steps:
1. Open the user's attached project
2. In the Project window select "Assets/ES/BuildConfigurations/iOSClassicBuildConfiguration" and click "Build and Run" at the top of the Inspector
3. Deploy the project to a device
4. Observe the Xcode console
Expected result: no errors show up in the console
Actual result: error can be seen in the console: "Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (IOAF code 3)" or "Execution of the command buffer was aborted due to an error during execution. Invalid Resource (IOAF code 9)"
Reproducible with: 2020.2.3f1
Could not test with: 2018.4.31f1, 2019.4.19f1 (project contains custom packages that break upon updating), 2021.1.0b3 (project fails to build due to build errors), 2021.2.0a3 (same as 2019.4.19f1)
Devices reproduced with:
iPhone 6 (iOS 12.4.8)
iPhone 7 (iOS 12.3.1)
iPhone 12 (iOS 14.1)
Notes:
1. Entering Play Mode in the Editor in the "ShaderVariantLoader" Scene throws an error: "Metal: constant buffer state is invalid."
2. Although on 2021.1.0b3 the build fails, the errors in Play Mode are not present
3. Enabling Metal API validation throws this error in the Xcode Console: "validateFunctionArguments:3469: failed assertion `Vertex Function(xlatMtlMain): missing buffer binding at index 5 for unity_DOTSInstanceData[0].'"
4. Not reproducible on macOS
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
- “RenderSettings customReflection texture has invalid type” error keeps getting thrown even when Environment Reflections was set back to Skybox from Custom with an invalid texture
- Particle System with the custom Material breaks the Scene view when the material is using a Shader Graph with the Texture with the power of negative value
- Invalid asset path & Invalid value for font MissingAssetReference Warnings are spammed when deleting a Font used by any Element in UI Builder
- [iOS] Legacy text font fallback does not render all characters for Chinese text when deployed on devices with OS 18+
- Shadows are broken in ECS Graphics when using deeply nested object hierarchies
Resolution Note:
Fixed in 2021.2
Resolution Note (fix version 2020.2):
Fixed in 2020.2.7f1