Random crashes on iOS

We are facing random crashes with our live game one iOS. The game crashes but it is possible to continue when relaunched. Would love to hear a solution for this.

Thread 31 Crashed:
0 AGXMetalA14 0x00000001f3ff33e0 -[AGXA14FamilyRenderContext drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:] + 392 (agxa_render_template.hpp:5964)
1 AGXMetalA14 0x00000001f3ff33d0 -[AGXA14FamilyRenderContext drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:] + 376 (agxa_render_template.hpp:5959)
2 UnityFramework 0x000000010824bb90 GfxDeviceMetalBase::smile:rawBufferRanges(metal::PipeKeyPrepareResult, GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned l... + 732 (GfxDeviceMetal.mm:836)
3 UnityFramework 0x0000000108251c74 GfxDeviceMetalBase::smile:rawBufferRangesPlatform(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned long, int) + 216 (GfxDeviceMetal.mm:3119)
4 UnityFramework 0x00000001080bda64 SinglePassStereoSupportExt::smile:rawBuffersStereo(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned long) + 168 (StereoSupportExt.cpp:494)
5 UnityFramework 0x000000010824b898 GfxDeviceMetalBase::smile:rawBuffers(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*) + 116 (GfxDeviceMetal.mm:764)
6 UnityFramework 0x00000001081dc548 GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&) + 31252 (GfxDeviceWorker.cpp:2083)
7 UnityFramework 0x0000000108257f2c GfxDeviceWorkerAutoreleasePoolProxy + 68 (GfxDeviceMetal.mm:5712)
8 UnityFramework 0x00000001081d91d8 GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&) + 18084 (GfxDeviceWorker.cpp:2177)
9 UnityFramework 0x0000000108257f2c GfxDeviceWorkerAutoreleasePoolProxy + 68 (GfxDeviceMetal.mm:5712)
10 UnityFramework 0x00000001081dcb88 GfxDeviceWorker::RunExt(ThreadedStreamBuffer&) + 92 (GfxDeviceWorker.cpp:394)
11 UnityFramework 0x00000001081d4838 GfxDeviceWorker::RunGfxDeviceWorker(void*) + 12 (GfxDeviceWorker.cpp:357)
12 UnityFramework 0x0000000107dacb44 Thread::RunThreadWrapper(void*) + 196 (Thread.cpp:82)
13 libsystem_pthread.dylib 0x00000001f29c29a4 _pthread_start + 148 (pthread.c:891)
14 libsystem_pthread.dylib 0x00000001f29c1ea0 thread_start + 8

Did you find a solution ?

We are facing the exact same crashes on iOS

Unfortunately couldn’t find anything specific. Most probably it was caused by the SDK of a mediation network we were using and the error was gone with its update.

We are facing the exact same crashes on iOS +1

Did anyone find a solution for this crash? We’re seeing the same crash with Unity 2020.3 (not sure if it is only specific to that version)