Support Forum

Crash on ios command buffer

Unity version: 2021.1.28f1
ALine:1.5.2
Hi
Crash on ios to run(use burst api). but working fine on other platform(android windows).

The crash code here (in xcode):

Execution of the command buffer was aborted due to an error during execution. Ignored (for causing prior/excessive GPU errors) (00000004:kIOGPUCommandBufferCallbackErrorSubmissionsIgnored)

Any suggestions on how to get this to work?

Hi

Sorry for the late answer.
This sounds like a Unity bug, I would report this to Unity.

I am also experiencing the same issue on iOS. Everything works fine on other platforms. I have tried Unity 2021.2.0f1 and Unity 2021.3.1f1 with Burst 1.7.1, as well as Burst 1.6.5. All calls to Draw.ingame cause this error. Any further suggestions?

The code that is causing the error is as follows:

using (Draw.ingame.WithLineWidth(4.0f))
{
     using (Draw.ingame.WithColor(new Color(0.0f, 0.55f, 0.6f)))
     {
          Draw.ingame.Arrow(Vector3.zero, Vector3.one, Vector3.up, 0.33f);
     }
}

Hi

This turned out to be caused by a Unity bug. I have reported it to them. In the meantime I think I have a workaround and I will include it in the next update.