EXC_RESOURCE crash when running AR app on iOS
I have an AR app developed in Unity that crashes when loading a scene. Now, it only seems to crash on the first launch of the app after being installed (On the device I am testing at least), subsequent launches seem to work fine.
In XCode I get the error for a thread (It seems to change number) and a size in MB
EXC_RESOURCE RESOURCE_TYPE_MEMORY
I have no real idea how to debug this as I am new to development but I have taken a look at the debug profiler in unity and gathered some screenshots. At the moment these are just numbers to me. I don't know what size constitutes a reasonable amount of memory usage from the unreasonable.
Before loading scene
Loading Scene that crashes on iOS
Now, from the error, I can gather I am using too much memory but where or how? And why does it only happen sometimes?
Any help is hugely appreciated.
Your answer
![](https://koobas.hobune.stream/wayback/20220613025039im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Workflow for troubleshooting bugs on iOS device? 0 Answers
iOs build fails on 5.3 1 Answer
Xcode7.3 iPad Simulator Failure 0 Answers
running error: dyld: Symbol not found: __ZN14Il2CppIUnknown3IIDE unity5 to xcode8.0 0 Answers
Using "Dynamic" Keyword 3 Answers