Unreal 4.19 Android Crash Issue

On first opening from downloading Hunters War from the Google Play Store, the game will immediately crash. However, when you open it a second time, the app opens just fine.

This issue does not present when we install the game manually through ADB or APK.

Below I’ve attached logs we tested that is presenting the issue.

Also the below lists are the tests we conducted to find the source of the issue.

Have you seen this issue before? And do you know of any solution to this bug?

We recently went live, and have been receiving constantly receiving a lot of bad reviews and uninstalls stemming from this problem; so any help on finding the solution would be greatly appreciated.

Tests:

Engine version: Unreal Engine 4.19.0 from GIT - Modded to allow IPV6 connections to work as expected.

Packaging the APK with:

  • Min SDK version 21 (current is 22)

  • Target SDK version ‘latest’ (28 on disk), (current is 26)

  • SDK API Level latest (current is android-26)

  • NDK API Level android-21 (current is 22)

  • Packaging using UE4.19.2 (and repeating the whole list)

  • Disabling the launch screen (is currently enabled)

  • Disabling immersive mode (is currently enabled)

  • Enabling / disabling ExternalFilesDir (currently enabled)

  • Disabling our loading screen / transition screen plugin (GitHub - ue4plugins/LoadingScreen: A plugin for Unreal Engine 4 to expose simple controls for managing load screens.)

  • Switching to the SDK / NDK used in the ue 4.20+ version (and repeating the whole list).

  • Removing language translations

  • Manually enabling storage permissions (phone settings) before launch the game the first time

Hello,

It looks like your logs didn’t make it through - can you please try re-attaching?

Hmm, I’m not seeing much about this in our internal bug database. (dalvik.system.BaseDexClassLoader exception is what sticks out to me)

An issue with that was fixed in FN with this fix:

However that fix was for a constant crash (as opposed to a crash only on first launch)

I found a few things on StackOverflow that might be worth taking a look at:

Hope that helps!

[link text][1]

Here are the logs.
[1]: 267870-crash-logs-1.txt (1.02 KB)