Multiformat Android Package Crashes with Startup Movies

Whenever we package our game in Multi-Format (ETC2, ATC and DXT) - we get a crash with startup movies.

Works whenever we package individually, so I can only assume this is the problem.

Hey Jamsh,

I have tested the multiformat Android packaging out on a few different devices. Neither one of them crashed with a startup movie. Both 4.11.2 and 4.12.0 preview 3 were tested in binary. The devices tested were: Samsung Galaxy S4 (Android Version: 4.4.2); Nvidia Shield (Android Version: 6.0); and LG (Android Version: 6.0.1).

In order to better assist you, could you please list the types of devices you’ve tested on, including their Android versions? It’d also be helpful to receive the logs from the device the projects are crashing on.

Looking forward to hearing back from you, thanks!

Hi , so we’re testing on an nVidia Shield (6.0.1) and a Sony Xperia Z3. (5.0.2 I believe)

I shall post the logs shortly, just building it out again!

Hi , here’s the first log.[link text][1]

90885-multifromatlog.log (12 KB)

This doesn’t really tell you anything though. Really Android LogCat is the best way to see what it’s doing.

LogCat output with the ‘UE4’ Filter

[link text][1]

90886-logcat.txt (28.7 KB)

And here’s the final log, this is just from plain logcat and you can plainly see the error is related to ‘media player’ being missing or something…

[link text][1]

90887-errorsonlylog.log (7.47 KB)

Thanks for providing me with your packaged game that’s having the issue, along with all of these logs. I have been able to reproduce this issue with the apk provided. I have yet to be able to reproduce this on my own, with a new project. Have you been able to reproduce this with a new project set up similarly?

Could you also comment out “FPlatformMisc::SetCrashHandler(EngineCrashHandler);” in AndroidJNI.cpp? As it’ll allow us to see more about the crash in the logs.

Could you also send me an ETC2 APK version of your project through the forums too?

Thanks!

Hi , yep shall package one up and send it across asap. (The Alpha download is ETC2 also)

We use a binary version of the engine at the moment, If I get a I’ll switch over to a source version with that line commented out. Thanks!

Let me know once it’s sent. Thanks!

Hi Sam, have sent it over! Cheers

Hey Sam,

So I disabled the Startup Movies… still didn’t fix the crash. Not entirely sure what could be causing this now but there’s a clear issue with Multi format packages

Thanks for sending us the ETC2 project. We do need the logs once you’ve commented out “FPlatformMisc::SetCrashHandler(EngineCrashHandler);”.

Please let us know once you’ve done that, have a great weekend!

Hey, were you able to create a copy of your project for our source build and comment out that line of code yet?

,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!