- Home /
Question by
$$anonymous$$ · Oct 11, 2015 at 11:54 AM ·
ioscrashmemory management
iOS crash on load: Terminated due to memory issue (Unity5.2.1p3)
Having some trouble loading the iOS app. If I take out some UI.Images on the scene it loads fine, but obviously that's not a solution. Any help is greatly appreciated. I updated from 5.2.1f1 to 5.2.1p3, but the memory error persisted. However, the Device Log is consistently showing the same error on GfxDeviceMetal.mm:1589
OS Version: iOS 9.0.2 (13A452)
Report Version: 105
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 drcoco 0x00929228 GfxDeviceMetal::SetTextureName(TextureID, char const*) (GfxDeviceMetal.mm:1589)
1 drcoco 0x00929207 GfxDeviceMetal::SetTextureName(TextureID, char const*) (TextureIdMap.h:67)
2 drcoco 0x006f806d Texture2D::UploadTexture(bool) (Texture2D.cpp:668)
3 drcoco 0x006f73d9 Texture2D::IntegrateLoadedImmediately() (vector:653)
4 drcoco 0x00734e0f PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int) (PreloadManager.cpp:390)
5 drcoco 0x00735253 PreloadManager::WaitForAllAsyncOperationsToComplete() (PreloadManager.cpp:501)
6 drcoco 0x0069733b SceneManager::LoadScene(UnityStr const&, UnityStr const&, int, SceneManager::LoadingMode) (SceneManager.cpp:72)
7 drcoco 0x007331a3 PlayerStartFirstScene() (Player.cpp:882)
8 drcoco 0x0073329b PlayerLoadFirstScene() (Player.cpp:914)
9 drcoco 0x008d4d79 UnityLoadApplication (LibEntryPoint.mm:243)
10 drcoco 0x00110733 -[UnityAppController startUnity:] (UnityAppController.mm:112)
11 Foundation 0x258ece59 __NSFireDelayedPerform + 469
12 CoreFoundation 0x24ae6fb7 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 15
13 CoreFoundation 0x24ae6be9 __CFRunLoopDoTimer + 937
14 CoreFoundation 0x24ae4a35 __CFRunLoopRun + 1501
15 CoreFoundation 0x24a371e9 CFRunLoopRunSpecific + 517
16 CoreFoundation 0x24a36fdd CFRunLoopRunInMode + 109
17 GraphicsServices 0x2df84af9 GSEventRunModal + 161
18 UIKit 0x28c9c17d UIApplicationMain + 145
19 drcoco 0x000f92cb main (main.mm:32)
20 libdyld.dylib 0x374b9873 start + 3
Xcode console:
screen-shot-2015-10-11-at-10707-am.png
(307.5 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612040852im_/https://answers.unity.com/themes/thub/images/avi.jpg)