iOS Metal crashes on released game

Hi, recently, Unity’s online perf reporting services is logging the following crashes on iOS:

And the same with symbols missing:

Both reports occur for the same build and for iOS 10+ and 11+.

Our game does require metal, so what could be wrong?

Any clues?

Looking at the crashes it looks like your game is having troubles on A8 and A9 chipsets. Did you have chance to test on these GPUs locally?

Yes, and it also happens with A7 chipsets. And that is the strange thing, because XCode indicates that a a crash occurred with thread (usually) #7 at the very beginning of execution (and kills it), but the game does not crash. In other words, in spite of the fact that the offending thread is killed, the game does not stop execution at all.

EDIT: In all exceptions, the problem is raised by a metal check on [MTLRenderPipelineDescriptorInternal validateWithDevice:]

Which Unity version are you using?

2017.1.3p1

Pardon me for interjecting - but how do you see these crash messages? I’m currently dealing with an iOS crash and I don’t know where to get any kind of message on the subject.

Two sources:

A. Performance Reporting in unity services.

B. XCode: open Window → Organizer → Crashes Tab

1 Like