UnityGfxDeviceWorker (30): EXC_BAD_ACCESS (code=1, address=0x113ecd158)

Using:
-macOS catalina 10.15.5
-Unity 2019.4.4f1
-Burst 1.2.3

I’ve been getting crashes on my build which is related to this error from Xcode. From my observation, this started when I installed the Collections package (preview.5 -0.8.0).

Hi,

I have the same problem. Did you find the solution?

Thanks!

Hi,

Would it be possible to get a stack trace of this issue or a project which would help to reproduce it?

Hi,

I’m attaching the Stack Trace from xCode. I will try to minimize my project so I can isolate the problem and send it to you.

Stack Trace:

  • thread #30, name = ‘UnityGfxDeviceWorker’, stop reason = EXC_BAD_ACCESS (code=1, address=0x11252c010)
  • frame #0: 0x00000001013c9a94 UnityFramework`::TransformVerticesInnerLoop<false, false, true>() [inlined] MultiplyPoint3 at Matrix4x4.h:312:30 [opt]

frame #1: 0x00000001013c9a90 UnityFramework`::TransformVerticesInnerLoop<false, false, true>() at TransformVertex.cpp:46 [opt]

frame #2: 0x00000001013c8f90 UnityFramework`::TransformVerticesStridedREF() at TransformVertex.cpp:147:13 [opt]

frame #3: 0x000000010149bae8 UnityFramework`::TransformVertices() at BatchRendering.cpp:941:5 [opt]

frame #4: 0x000000010127f8ec UnityFramework`::processDynamicSpriteBatchGeometryJob() at SpriteRendererJobs.cpp:217:30 [opt]

frame #5: 0x00000001013d05b8 UnityFramework`::Exec() [inlined] ExecuteJobFunc at JobQueue.cpp:402:9 [opt]

frame #6: 0x00000001013d0598 UnityFramework`::Exec() at JobQueue.cpp:564 [opt]

frame #7: 0x00000001013d081c UnityFramework`::Steal() at JobQueue.cpp:657:17 [opt]

frame #8: 0x00000001013d1378 UnityFramework`::WaitForJobGroupID() at JobQueue.cpp:1572:17 [opt]

frame #9: 0x00000001013cf3a8 UnityFramework`::CompleteFenceInternal() at Jobs.cpp:30:19 [opt]

frame #10: 0x0000000101496d50 UnityFramework`::putGeometryJobFence() [inlined] SyncFence at Jobs.h:289:5 [opt]

frame #11: 0x0000000101496d3c UnityFramework`::putGeometryJobFence() at GeometryJob.cpp:98 [opt]

frame #12: 0x00000001014af17c UnityFramework`::putGeometryJobFence() at GfxDevice.cpp:848:21 [opt]

frame #13: 0x00000001014af1f8 UnityFramework`::smile:rawSharedGeometryJobs() at GfxDevice.cpp:854:5 [opt]

frame #14: 0x0000000101204be0 UnityFramework`::RunCommand() at GfxDeviceWorker.cpp:802:23 [opt]

frame #15: 0x00000001016bd154 UnityFramework`GfxDeviceWorkerAutoreleasePoolProxy at GfxDeviceMetal.mm:4859:18 [opt]

frame #16: 0x000000010120a550 UnityFramework`::RunExt() at GfxDeviceWorker.cpp:423:5 [opt]

frame #17: 0x0000000101200cc0 UnityFramework`::RunGfxDeviceWorker() at GfxDeviceWorker.cpp:386:42 [opt]

frame #18: 0x0000000101475f90 UnityFramework`::RunThreadWrapper() at Thread.cpp:78:14 [opt]

frame #19: 0x000000022aac42c0 libsystem_pthread.dylib`_pthread_body + 128

frame #20: 0x000000022aac4220 libsystem_pthread.dylib`_pthread_start + 44

frame #21: 0x000000022aac7cdc libsystem_pthread.dylib`thread_start + 4

Check this isssue. That was exactly my case and disableing Multithread Rendering option helped me to solve this problem