# IOS Packed Game Launch Crash

**URL:** <https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193>\
**Category:** Mobile\
**Tags:** launch-crash, ios-ipa, unreal-engine, question\
**Created:** [September 12, 2016, 2:00pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193 "2016-09-12T14:00:03Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![pRoxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pRoxxx](https://forums.unrealengine.com/u/pRoxxx)\
**Post date:** [September 12, 2016, 2:00pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/1 "2016-09-12T14:00:03Z")

</div>

In Editor, and in Packed Windows version all ok. But on IOS i get crash with EXC\_BAD\_ACCESS code=2, i tried to debug with zombies,I tried different builds (Dev/Debug),and nothing helps.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/e/fe1305d873103d5b86b9751ca69850eb1bfe726f.png)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/9/59331d14eb38b9060dbb50d837c97a21c17f0b65.png)

---

<div class="post-metadata">

**Author:** ![pRoxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pRoxxx](https://forums.unrealengine.com/u/pRoxxx)\
**Post date:** [September 12, 2016, 4:37pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/2 "2016-09-12T16:37:31Z")

</div>

In 4.10 all work fine. =\

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [September 12, 2016, 9:33pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/3 "2016-09-12T21:33:11Z")

</div>

Hi pRoxx,

Please post your entire output log as a text file, not a pic. Also post a screen shot of your Project Settings\>Platforms\>iOS.

Also test by trying to package a blank Blueprint project (Third person) for iOS. \*Note that C++ projects will not deploy to iOS from a Windows system, in case you added any C++ elements since you worked in UE4.10.

If the Blank blueprint project fails, post log as a text file.

Thanks,

.

---

<div class="post-metadata">

**Author:** ![pRoxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pRoxxx](https://forums.unrealengine.com/u/pRoxxx)\
**Post date:** [September 16, 2016, 8:29am UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/4 "2016-09-16T08:29:00Z")

</div>

Yes its C++ code base project in 4.10. But in 4.10 we using http chunk install, in 4.12 it uses IOSChunkInstall, i think this is problem. How can i switch from IOSChunkInstaller to HTTPChunkInstaler?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [September 19, 2016, 5:34pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/5 "2016-09-19T17:34:51Z")

</div>

You’d select these in your project settings:

 ![107677-chunkinstall.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/c/49c8899fcedd85791449b064e89731e5595f3604.png)

---

<div class="post-metadata">

**Author:** ![pRoxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pRoxxx](https://forums.unrealengine.com/u/pRoxxx)\
**Post date:** [September 20, 2016, 7:31am UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/6 "2016-09-20T07:31:11Z")

</div>

Yes,

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/7/5/075ce8df598cee2fa8b0c773e5c67911cfa9c48a.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [September 20, 2016, 5:05pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/7 "2016-09-20T17:05:40Z")

</div>

If you have the HTTPChunkInstaller selected here, how are you determining that it is not using the HTTPChunkInstaller but instead is using the iOSChunkInstaller?

Also, please post your entire output log as a text file.

---

<div class="post-metadata">

**Author:** ![pRoxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pRoxxx](https://forums.unrealengine.com/u/pRoxxx)\
**Post date:** [September 21, 2016, 2:09pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/8 "2016-09-21T14:09:59Z")

</div>

I got something strange, when i changed GAME\_THREAD\_STACK\_SIZE to 8_1024_1024. Some times it loads well and plays well, but sometimes it crashes due memory usage. And i dont figure why this happens.

---

<div class="post-metadata">

**Author:** ![pRoxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pRoxxx](https://forums.unrealengine.com/u/pRoxxx)\
**Post date:** [September 21, 2016, 3:58pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/9 "2016-09-21T15:58:28Z")

</div>

Sounds that cant be found, they are in chunk1 not in chunk0.

link text

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [September 22, 2016, 9:04pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/10 "2016-09-22T21:04:28Z")

</div>

If you look at the log, 2 things stand out:

You have a large number of **“LogLinker:Warning: Can’t find file…” Errors**

and

The logs definitey show you are hitting a memory cap. (iOSChunkInstaller is an ODR (On Demand Resource), which will have no impact on the memory footprint. It is a way of reading the chunks created, when generate chunks is enabled.)

The first issue is likely causing the second issue, and the first issue is likely caused when you upgraded from UE4.10 to UE4.12.

To fix this, follow these steps:

In the UE4.12 Version:

1. Right-click on the Content Folder and select “Fix up redirectors in folder”

2. Run a map check for each level and correct any errors.

3. Save all and close the Editor.

4. In the Project Folder, delete the Intermediate and Saved folders

5. Open the project and try and package again

If it fails, please post the new Output Log

---

<div class="post-metadata">

**Author:** ![pRoxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pRoxxx](https://forums.unrealengine.com/u/pRoxxx)\
**Post date:** [September 26, 2016, 2:13pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/11 "2016-09-26T14:13:41Z")

</div>

So i fix all package warnings. When packed with chunk its crashed when chunk get downloaded, by memory run out. When packed without chunks its crashed on launch due memory.  
Log without chunk.link text

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [September 27, 2016, 7:26pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/12 "2016-09-27T19:26:19Z")

</div>

Please send a clean output log for when you are packaging without chunks:

- Open Output Log in editor: Window\>Developer Tools\>Output Log
- Right-click in Output Log window and select clear
- Package game without chunks
- Copy entire content of Output Log
- Paste into a text document and post here.

-Thanks

---

<div class="post-metadata">

**Author:** ![pRoxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pRoxxx](https://forums.unrealengine.com/u/pRoxxx)\
**Post date:** [September 28, 2016, 9:51am UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/13 "2016-09-28T09:51:34Z")

</div>

Package log  
link text

---

<div class="post-metadata">

**Author:** ![pRoxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pRoxxx](https://forums.unrealengine.com/u/pRoxxx)\
**Post date:** [September 28, 2016, 3:04pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/14 "2016-09-28T15:04:23Z")

</div>

So it eats 200+ before Splash video, and then start problems. =  
In 4.10 i start eat memory after splash screen.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [September 28, 2016, 5:53pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/15 "2016-09-28T17:53:22Z")

</div>

We are looking into this but in the meantime, is there a reason you need to update to UE4.12? The reason I ask is if it is not necessary, it is not recommended… Especially jumping directly from UE4.10 to 4.12 instead of gradually stepping up: UE4.10 to 4.11 (work out bugs) then to 4.12.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [September 28, 2016, 6:44pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/16 "2016-09-28T18:44:20Z")

</div>

After researching further, there was some work done in UE4.13 to improve memory issues from versions UE4.11 and UE4.12. Hence, despite my previous message of not recommending updating, due to this memory issue I recommend creating a **copy,** (saving the original) in UE4.13, and seeing if you run into the same memory caps.

---

<div class="post-metadata">

**Author:** ![pRoxxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pRoxxx](https://forums.unrealengine.com/u/pRoxxx)\
**Post date:** [October 3, 2016, 1:07pm UTC](https://forums.unrealengine.com/t/ios-packed-game-launch-crash/370193/17 "2016-10-03T13:07:08Z")

</div>

Yes 4.13 solved memory crash, but we have new one when skip tutorial, i’ll create thread soon. (=
