Search Issue Tracker

Fixed in 2017.2.0f3

Fixed in 5.4.X, 5.5.X, 5.6.X, 2017.1.X

Votes

21

Found in

5.6.0f3

Issue ID

902650

Regression

Yes

[iOS][Metal] GPU Hang Error (IOAF code 3) in Xcode Console

iOS

-

Errors appear in the Xcode Console when User's project is run on iOS:
2017-04-19 12:55:18.131719+0300 KneeViewer[346:45705] Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (IOAF code 3)

Steps to reproduce:
1. Open User's attached project
2. Make sure the Graphics APIs is set to Metal
3. Run on iPad

Result: Errors appear in the Xcode Console: 2017-04-19 12:55:18.131719+0300 KneeViewer[346:45705] Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (IOAF code 3). iPad screen is black.

Reproduced with: 5.6.0f3, 5.6.0p2
Not reproduced with: 2017.1.0b1 (due to errors in the Console), 5.5.3f1 (works as expected).

Tested with:
iPad Mini 2 | iOS10.3.1 | reproduced
iPad Mini 2 | iOS10.2.1 | not reproduced
iPad Mini 4 | iOS9.3.2 | not reproduced
iPad Pro | iOS10.2 | not reproduced
iPhone 6 | iOS10.3.1 | not reproduced
iPhone 6S | iOS10.3 | not reproduced

Workaround: change graphics API to OpenGLES2 or OpenGLES3.

Note: the issue only reproduces on Metal.

Comments (21)

  1. krisnx

    Aug 06, 2020 08:19

    Hi,

    We are getting the similar crash with the below error trace

    Tried : Workaround: change graphics API to OpenGLES2 or OpenGLES3 - Its not working

    Unity version : 2019.4.1f1
    Device : IPAD 6th generation
    IOS version : 12.2

    Execution of the command buffer was aborted due to an error during execution. Discarded (victim of GPU error/recovery) (IOAF code 5)
    Execution of the command buffer was aborted due to an error during execution. Discarded (victim of GPU error/recovery) (IOAF code 4)
    Execution of the command buffer was aborted due to an error during execution. Discarded (victim of GPU error/recovery) (IOAF code 2)


    Thanks,
    Navaneetha.

  2. cozyurt_unity

    Jul 13, 2020 17:12

    kedi ve köpek mamaları kedi kumu çeşitleri www.patilimama.com

  3. havchr

    Feb 01, 2019 10:06

    Having this issue when switching between scenes A and B in 5.4.3 - we're not having anti-aliasing on. The issue seems to be really random but if we remove all 3d geometry/meshes in B and only draw UI - it seems to never crash. B has baked light and uses the standard shader.

  4. adyudya

    Apr 13, 2018 08:04

    I've just got this error in Unity 2017.2.1p4 on iPad Mini 4

  5. huanleEnt

    Jan 17, 2018 03:39

    disable metal api fix all

  6. youvisit

    Jan 04, 2018 21:12

    This bug is still in 2017.2.0p3. We're getting it while using the Unity Video Player to render to a mesh renderer.

  7. night-yan

    Dec 27, 2017 08:28

    Staill have this issue on 5.6.4p3 on iPad Air 2.

  8. julian_cruz

    Nov 09, 2017 19:04

    This fix has been published on 5.6.1p1.

  9. sakristx

    Sep 30, 2017 20:50

    It's iOS bug

  10. wanghongliang

    Jun 06, 2017 07:09

    in 5.6.1 p2 having the issue

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.