Metal API lighting error in Unity 5.6

Hello,

I recently upgraded to Unity 5.6.0f3 and have since encountered an error when building and using the metal Api. This error did not appear when I was using 5.5, and the project runs fine under OpenGL3.
I was wondering if anyone else had encountered this error, and if there was some explanation or solution. Thanks.

Setting up 1 worker threads for Enlighten.

Thread → id: 16f38b000 → priority: 1

2017-04-11 11:04:25.246381 thegreatwar[2370:706215] Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (IOAF code 3)

I am having this problem too - Unity 5.6.0f3 iOS builds using Metal do not run but the same project works fine exported from Unity 5.5.x. I have no idea what’s causing it.

I found this possible solution on Unity Answers (Xcode Error: IOAF Code 3 - Questions & Answers - Unity Discussions) which had a suggestion to disable antialiasing in the quality settings when using Metal but this solution does not work for us.

2017-04-18 22:56:12.570427+1200 [2093:1014660] Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (IOAF code 3)

So, Unity 5.6.0f3 and iOS is pretty much broken for us at the moment.

Also seeing this error

Unity know about this problem (my bug report was accepted as a dupe of this new issue);

That is my bug report that was accepted so hopefully a fix is on the way, in the meantime I removed metal as an API

Metal is completely broken with Unity 5.6. We had to roll back to Unity 5.5, we either get this error on some devices or the scene loads on newer devices but MSAA is a lot more expensive than it used to be in Unity 5.5.

metal needs to work normal, so i expect a patch release to include a fix

Also experiencing this error. Attempting to remove metal as suggested for the time being and voted on the issue.

Just checked the latest Unity 5.6.1f1… Still broken, none of our iOS devices can run anything using Metal.

I am also having this error… Caused my app to get rejected… And i even waited for 6.5.1 before going from 5.5 to 5.6… goes to show you how unreliable unity updates are…

Check the patch releases - 5.6.1p1 had a fix for it and 5.6.1p2 is out. (I haven’t had a chance to test it yet.)

5.6.1p1 (902650) - Metal: Fixed GPU hang on A7/A8 devices in some MSAA scenarios.

5.6.1 p2 not solved my problem.

Staill have this issue on 5.6.4p3 on iPad Air 2. Disable AA still broken !!!