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
![alt text][1]
Loading Scene that crashes on iOS
![alt text][2]
![alt text][3]
![alt text][4]
----------
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.
[1]: https://i.imgur.com/K552AIw.png
[2]: https://i.imgur.com/xWmo63a.png
[3]: https://i.imgur.com/VspnIrl.png
[4]: https://i.imgur.com/7AKZdbX.png
↧