How to manage the bug of BAD ACCESS of iOS App using AR Foundation

I’m currently working on the AR app for iOS with ARFoundation.
The problem is that when I build the app after creating some AR scenes, I got a BAD ACCESS error unloading the scenes. At first, I thought that it was caused by the memory release at the time of scene transition, so I took various measures, but the problem is not solved yet. The image below is the error log screen in XCode.

Error in XCode is UnityGfxDeviceWorker (31): EXC_BAD_ACCESS (code=1, address=0xdc56d9600)

Does anyone have the same problem? Also, Please let me know the causes and the solutions if you would know something about it.

Please check that you don’t have any async tasks running when you unload the scene. Here are examples of such tasks:

1 Like

Please kick us a bug report. :slight_smile: