Search Issue Tracker

Fixed in Unity 2017.2

Votes

21

Found in

5.6.0f3

Issue ID

902650

Regression

Yes

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

iOS

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 1Crash or major loss of functionality

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 (17)

  1. 0accc05ca2da6636edbb9742d622316c?d=mm

    huanleEnt

    Jan 17, 2018 03:39

    disable metal api fix all

  2. 8b24c70b9db0cda38e12cc4ee91630da?d=mm

    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.

  3. 81c7fac8666ab9d61480b18751e720b9?d=mm

    night-yan

    Dec 27, 2017 08:28

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

  4. 454976b1917fe2d4984ed6df8e960011?d=mm

    julian_cruz

    Nov 09, 2017 19:04

    This fix has been published on 5.6.1p1.

  5. 06edc9bfd03c4e42da4e6b2704492487?d=mm

    sakristx

    Sep 30, 2017 20:50

    It's iOS bug

  6. 458e6f3b18dcc95d0cfa1fdcce21652c?d=mm

    wanghongliang

    Jun 06, 2017 07:09

    in 5.6.1 p2 having the issue

  7. 35409e483b3db72f1bb04f37fd891f95?d=mm

    ev3d

    Jun 02, 2017 04:25

    Having this issue on 5.6.1f1

  8. 8c120e7335a5129f19ebb1e35d64e8da?d=mm

    frg_kova

    Jun 01, 2017 00:51

    can confirm not using AA fixes it on metal in my case

  9. 9c5e2c5ea480b256ffa813b2874f82d7?d=mm

    jasonnk

    May 22, 2017 07:45

    This was fixed for my repro in previous comment on 5.6.1p1

  10. 9c5e2c5ea480b256ffa813b2874f82d7?d=mm

    jasonnk

    May 15, 2017 11:33

    I found I could repro this problem on 5.6.0f3 and 5.6.1f1 with iPhone 5S running iOS 10.3.1 but couldn't repro with a 5S running 9.3.2. Turning off anti-aliasing on the RenderTexture we were using on the problematic device as zilppuri suggested is a possible workaround while still using Metal.

All about bugs

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