IOS Packed Game Launch Crash

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.

In 4.10 all work fine. =\

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,

.

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?

You’d select these in your project settings:

Yes,

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.

I got something strange, when i changed GAME_THREAD_STACK_SIZE to 810241024. Some times it loads well and plays well, but sometimes it crashes due memory usage. And i dont figure why this happens.

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

link text

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

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

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

Package log
link text

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

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.

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.

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