[Bug] UnityGfxDeviceWorker EXC_RESOURCE RESOURCE_TYPE_MEMORY
Unity bug report case number
I don't know why the app suddenly freezes and crashes
IPhone gets very hot. I tried all the methods, I do not know where the problem is
Actual behavior After 5 minutes, the error stared
Smartphone (please complete the following information):
- Device: [e.g. iPhone XS 12.2]
- OS: [e.g. iOS 12.2]
- Unity version 2020.2.2
- ARFoundation version 4.0.12
This looks like a memory leak leading to an out of memory crash. How much memory is in use when this happens?
This looks like a memory leak leading to an out of memory crash. How much memory is in use when this happens?
I do not know, but I cannot complete the application because of this problem, the application freezes and the iPhone mobile becomes hot. Please give me what is the solution in your opinion?
Xcode can show you how much memory your app is using:

There's generally a limit of 2GB, so if you go over that, it would appear to crash.
I will send you the project here and see what is wrong with my iPhone xs 12.1
I only use the front camera that tracks the face movement and the name Sense :ARsmile1 https://drive.google.com/file/d/1nC6xy3SuGpT_US9J3FtckK3egBhgWyho/view?usp=sharing
Unity version 2020.2.2 ARFoundation version 4.0.13



I will send you the project here and see what is wrong with my iPhone xs 12.1
You can log a bug with an attached project by following these instructions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
i'm experiencing the same problem, but yeah in my case is using memory, not all but something bigger than usual, and I cant seem to find a fix or an answer.
Hi guys,
I also have this issue. I cannot find a fix for it, and sometimes it happens on android as well
hey all. same problem here.
After I click the 'metal capture' button. Memory usage just keeps on climbing until it hits the 2GB limit:
And then errors out:
The only way I've managed to get the metal debugger to work is to have a very basic scene with a few game objects in and try to profile shaders that way. Not ideal as its not the full scene.
Did anyone find a workaround for this? An Xcode downgrade perhaps?