Unity-Technologies / barracuda-release

Other
567 stars 77 forks source link

iPad (6th generation) and iPad Pro (2nd generation): Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED #253

Closed ryanscottmurphy closed 2 years ago

ryanscottmurphy commented 2 years ago

I'm trying to run this project TinyYOLOv2Barracuda with Unity Barracuda.

When I build it with my iPad (6th generation) and iPad Pro (2nd generation) I get the following output and the network appears to fail to run:

Metal: Compute shader (Conv2dA_NHWC.Conv2DKernelKxK_T16x16_R4x4_NHWC) has 256 threads in a threadgroup which is more than the supported max of 224 in this device 2022-01-19 12:18:33.732549+1100 TinyYOLOv2Barracuda[12050:11213861] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED 2022-01-19 12:18:33.761098+1100 TinyYOLOv2Barracuda[12050:11213861] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED 2022-01-19 12:18:33.794916+1100 TinyYOLOv2Barracuda[12050:11213861] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED 2022-01-19 12:18:33.795027+1100 TinyYOLOv2Barracuda[12050:11213861] MTLCompiler: Compilation failed with XPC_ERROR_CONNECTION_INTERRUPTED on 3 try Metal: Error creating compute pipeline state: Compiler encountered an internal error (null)

I've tried using Unity versions 2020.2.7 and 2020.3.23. I've also tried using Barracuda versions 1.3.2-preview and 2.4.0-preview.

I've also tried to run both the CPU and GPU example, which appear to be working on Desktop and Android without problems. I've noted a similar issue that was closed. Is this a known issue with Barracuda on iOS or am I doing something wrong?

Thanks for any help you can provide.

Aurimasp commented 2 years ago

Hello, thanks for reporting the issue.

I was able to reproduce it and we will look into it.

Aurimasp commented 2 years ago

Issue tracker link: https://issuetracker.unity3d.com/product/unity/issues/guid/1401188/