Android Crash On Startup

06-16 13:02:51.836: D/UE4(32650): In the JNI_OnLoad function
06-16 13:02:51.837: D/UE4(32650): Path found as ‘/storage/emulated/0’
06-16 13:02:51.838: D/UE4(32650): Font Path found as ‘/system/fonts/’
06-16 13:02:51.838: D/UE4(32650): In the JNI_OnLoad function 5
06-16 13:02:51.993: D/UE4(32650): Entering native app glue main function
06-16 13:02:51.993: D/UE4(32650): Created event thread
06-16 13:02:51.993: D/UE4(32650): Entered AndroidMain()
06-16 13:02:51.997: D/UE4(32650): Controller interface supported
06-16 13:02:51.998: D/UE4(32650): Entering event processing thread engine entry point
06-16 13:02:51.998: D/UE4(32650): Prepared looper for event thread
06-16 13:02:51.998: D/UE4(32650): Passed callback initialization
06-16 13:02:52.001: D/UE4(32650): Passed sensor initialization
06-16 13:02:52.002: D/UE4(32650): Found DepthBufferPreference = 0
06-16 13:02:52.003: D/UE4(32650): Found bPackageDataInsideApk = 0
06-16 13:02:52.003: D/UE4(32650): Found ProjectName = MYGAME
06-16 13:02:52.003: D/UE4(32650): Found bHasOBBFiles = 1
06-16 13:02:52.003: D/UE4(32650): Found bVerifyOBBOnStartUp = false
06-16 13:02:52.003: D/UE4(32650): UI hiding not found. Leaving as false
06-16 13:02:52.003: D/UE4(32650): No GearVR mode detected.
06-16 13:02:52.003: D/UE4(32650): Asking if osOBBInAPK? false
06-16 13:02:52.009: D/UE4(32650): ExternalFilePath found as ‘/storage/emulated/0/Android/data/com.MYCOMPANY.MYGAME/files’
06-16 13:02:52.009: D/UE4(32650): App is running in Landscape
06-16 13:02:52.017: D/UE4(32650): Android version is 5.0.2
06-16 13:02:52.018: D/UE4(32650): Android manufacturer is motorola
06-16 13:02:52.019: D/UE4(32650): Android model is MotoE2(4G-LTE)
06-16 13:02:52.019: D/UE4(32650): OS language is set to en_GB
06-16 13:02:52.105: D/UE4(32650): ==============> GameActive.onCreate complete!
06-16 13:02:52.108: D/UE4(32650): OnAppCommandCB cmd: 10
06-16 13:02:52.108: D/UE4(32650): LogAndroidEvents: EnqueueAppEvent : 9, 0
06-16 13:02:52.108: D/UE4(32650): ==================================> Inside onStart function in GameActivity
06-16 13:02:52.109: D/UE4(32650): OnAppCommandCB cmd: 11
06-16 13:02:52.109: D/UE4(32650): LogAndroidEvents: EnqueueAppEvent : 7, 0
06-16 13:02:52.109: D/UE4(32650): ==============> Starting activity to check files and download if required
06-16 13:02:52.141: D/UE4(32650): ==============> GameActive.onResume complete!
06-16 13:02:52.158: D/UE4(32650): OnAppCommandCB cmd: 12
06-16 13:02:52.158: D/UE4(32650): LogAndroidEvents: EnqueueAppEvent : 12, 0
06-16 13:02:52.158: D/UE4(32650): OnAppCommandCB cmd: 13
06-16 13:02:52.158: D/UE4(32650): LogAndroidEvents: EnqueueAppEvent : 6, 0
06-16 13:02:52.262: D/UE4(32650): Starting DownloaderActivity…
06-16 13:02:52.525: D/UE4(32650): … UI setup. Checking for files.
06-16 13:02:52.540: D/UE4(32650): Checking for file : main.1.com.MYCOMPANY.MYGAME.obb
06-16 13:02:52.544: D/UE4(32650): which is really being resolved to : /storage/emulated/0/Android/obb/com.MYCOMPANY.MYGAME/main.1.com.MYCOMPANY.MYGAME.obb
06-16 13:02:52.544: D/UE4(32650): Or : /storage/emulated/0/obb/com.MYCOMPANY.MYGAME/main.1.com.MYCOMPANY.MYGAME.obb
06-16 13:02:52.550: D/UE4(32650): … Can has! Check 'em Dano!
06-16 13:02:52.550: D/UE4(32650): Checking for file : main.1.com.MYCOMPANY.MYGAME.obb
06-16 13:02:52.581: D/UE4(32650): DownloadActivity Returned with Download Files Present
06-16 13:02:52.581: D/UE4(32650): OnAppCommandCB cmd: 8
06-16 13:02:52.582: D/UE4(32650): OnAppCommandCB cmd: 11
06-16 13:02:52.582: D/UE4(32650): LogAndroidEvents: EnqueueAppEvent : 7, 0
06-16 13:02:52.582: D/UE4(32650): ==============> Resuming main init
06-16 13:02:52.592: D/UE4(32650): Final commandline:
06-16 13:02:52.593: D/UE4(32650): Created sync event
06-16 13:02:52.600: D/UE4(32650): Mounted OBB ‘/storage/emulated/0/obb/com.MYCOMPANY.MYGAME/main.1.com.MYCOMPANY.MYGAME.obb’
06-16 13:02:52.603: D/UE4(32650): ==============> GameActive.onResume complete!
06-16 13:02:52.614: D/UE4(32650): OnAppCommandCB cmd: 0
06-16 13:02:52.649: D/UE4(32650): OnAppCommandCB cmd: 1
06-16 13:02:52.649: D/UE4(32650): LogAndroidEvents: EnqueueAppEvent : 0, 3104549416
06-16 13:02:52.650: D/UE4(32650): LogAndroidEvents: EnqueueAppEvent : 2, 3104549416
06-16 13:02:52.652: D/UE4(32650): OnAppCommandCB cmd: 6
06-16 13:02:52.652: D/UE4(32650): LogAndroidEvents: EnqueueAppEvent : 11, 0
06-16 13:02:52.856: D/UE4(32650): OnAppCommandCB cmd: 8
06-16 13:02:55.533: D/UE4(32650): EGL Extensions:
06-16 13:02:55.533: D/UE4(32650): EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable
06-16 13:02:56.474: D/UE4(32650): FOnlineSubsystemAndroid::Init
06-16 13:03:14.651: D/UE4(32650): FOnlineSubsystemAndroid::Init - timed out
06-16 13:03:14.857: D/UE4(32650): ***** RequestedContentScaleFactor different -1503570708 != 0, not using res cache
06-16 13:03:14.857: D/UE4(32650): ***** Window different, not using res cache
06-16 13:03:14.857: D/UE4(32650): ***** WindowWidth is -1, not using res cache
06-16 13:03:14.859: D/UE4(32650): ***** WindowWidth is -8, not using res cache
06-16 13:03:14.926: D/UE4(32650): [2015.06.16-12.03.14:926][ 0]LogEngine:Display: Android Version Make Model Language: 5.0.2 motorola MotoE2(4G-LTE) en_GB
06-16 13:03:14.927: D/UE4(32650): [2015.06.16-12.03.14:927][ 0]LogAndroid: Case APP_CMD_START
06-16 13:03:14.928: D/UE4(32650): [2015.06.16-12.03.14:927][ 0]LogAndroid: Case APP_CMD_RESUME
06-16 13:03:14.928: D/UE4(32650): [2015.06.16-12.03.14:928][ 0]LogAndroid: Case APP_CMD_SAVE_STATE
06-16 13:03:14.929: D/UE4(32650): [2015.06.16-12.03.14:929][ 0]LogAndroid: Case APP_CMD_PAUSE
06-16 13:03:14.930: D/UE4(32650): [2015.06.16-12.03.14:929][ 0]LogAndroid: Case APP_CMD_CONFIG_CHANGED
06-16 13:03:14.930: D/UE4(32650): [2015.06.16-12.03.14:930][ 0]LogAndroid: Case APP_CMD_RESUME
06-16 13:03:14.931: D/UE4(32650): [2015.06.16-12.03.14:931][ 0]LogInit:Display: Running engine for game: MYGAME
06-16 13:03:14.931: D/UE4(32650): [2015.06.16-12.03.14:931][ 0]LogInit:Display: Project file not found: …/…/…/MYGAME/MYGAME.uproject
06-16 13:03:14.931: D/UE4(32650): [2015.06.16-12.03.14:931][ 0]LogInit:Display: Attempting to find via project info helper.
06-16 13:03:14.931: D/UE4(32650): [2015.06.16-12.03.14:931][ 0]LogUProjectInfo: Found projects:
06-16 13:03:14.933: D/UE4(32650): [2015.06.16-12.03.14:931][ 0]LogAndroid: Case APP_CMD_INPUT_CHANGED
06-16 13:03:14.934: D/UE4(32650): [2015.06.16-12.03.14:933][ 0]LogAndroid: Case APP_CMD_INIT_WINDOW
06-16 13:03:14.934: D/UE4(32650): [2015.06.16-12.03.14:934][ 0]LogAndroid: Case APP_CMD_GAINED_FOCUS
06-16 13:03:14.935: D/UE4(32650): [2015.06.16-12.03.14:935][ 0]LogAndroid: Case APP_CMD_CONFIG_CHANGED
06-16 13:03:14.936: D/UE4(32650): [2015.06.16-12.03.14:936][ 0]LogTaskGraph: Started task graph with 4 named threads and 7 total threads.
06-16 13:03:14.936: D/UE4(32650): [2015.06.16-12.03.14:936][ 0]LogStats: Stats thread started
06-16 13:03:14.937: D/UE4(32650): [2015.06.16-12.03.14:937][ 0]LogInit: Version: 4.8.0-2579680+++depot+UE4-Releases+4.8
06-16 13:03:14.937: D/UE4(32650): [2015.06.16-12.03.14:937][ 0]LogInit: API Version: 2579680
06-16 13:03:14.938: D/UE4(32650): [2015.06.16-12.03.14:938][ 0]LogInit: Compiled (32-bit): Jun 8 2015 01:14:58
06-16 13:03:14.939: D/UE4(32650): [2015.06.16-12.03.14:938][ 0]LogInit: Compiled with Clang: 3.3
06-16 13:03:14.939: D/UE4(32650): [2015.06.16-12.03.14:939][ 0]LogInit: Build Configuration: Development
06-16 13:03:14.939: D/UE4(32650): [2015.06.16-12.03.14:939][ 0]LogInit: Branch Name: ++depot+UE4-Releases+4.8
06-16 13:03:14.939: D/UE4(32650): [2015.06.16-12.03.14:939][ 0]LogInit: Command line:
06-16 13:03:14.939: D/UE4(32650): [2015.06.16-12.03.14:939][ 0]LogInit: Base directory:
06-16 13:03:14.939: D/UE4(32650): [2015.06.16-12.03.14:939][ 0]LogInit: Rocket: 0
06-16 13:03:14.939: D/UE4(32650): [2015.06.16-12.03.14:939][ 0]LogInit: Using libcurl 7.34.0
06-16 13:03:14.940: D/UE4(32650): [2015.06.16-12.03.14:940][ 0]LogInit: - built for arm-unknown-linux-androideabi
06-16 13:03:14.940: D/UE4(32650): [2015.06.16-12.03.14:940][ 0]LogInit: - supports SSL with OpenSSL/1.0.1f
06-16 13:03:14.941: D/UE4(32650): [2015.06.16-12.03.14:941][ 0]LogInit: - supports HTTP deflate (compression) using libz 1.2.8
06-16 13:03:14.941: D/UE4(32650): [2015.06.16-12.03.14:941][ 0]LogInit: - other features:
06-16 13:03:14.941: D/UE4(32650): [2015.06.16-12.03.14:941][ 0]LogInit: CURL_VERSION_SSL
06-16 13:03:14.941: D/UE4(32650): [2015.06.16-12.03.14:941][ 0]LogInit: CURL_VERSION_LIBZ
06-16 13:03:14.942: D/UE4(32650): [2015.06.16-12.03.14:942][ 0]LogInit: CURL_VERSION_TLSAUTH_SRP
06-16 13:03:14.942: D/UE4(32650): [2015.06.16-12.03.14:942][ 0]LogInit: CurlRequestOptions (configurable via config and command line):
06-16 13:03:14.942: D/UE4(32650): [2015.06.16-12.03.14:942][ 0]LogInit: - bVerifyPeer = true - Libcurl will verify peer certificate
06-16 13:03:14.942: D/UE4(32650): [2015.06.16-12.03.14:942][ 0]LogInit: - bUseHttpProxy = false - Libcurl will NOT use HTTP proxy
06-16 13:03:14.942: D/UE4(32650): [2015.06.16-12.03.14:942][ 0]LogInit: - bDontReuseConnections = false - Libcurl will reuse connections
06-16 13:03:14.942: D/UE4(32650): [2015.06.16-12.03.14:942][ 0]LogInit: - CertBundlePath = nullptr - Libcurl will use whatever was configured at build time.
06-16 13:03:14.943: D/UE4(32650): [2015.06.16-12.03.14:943][ 0]LogOnline:Display: OnlineSubsystemGooglePlayModule::StartupModule()
06-16 13:03:14.943: D/UE4(32650): [2015.06.16-12.03.14:943][ 0]LogOnline:Display: FOnlineIdentityAndroid::FOnlineIdentityAndroid()
06-16 13:03:14.943: D/UE4(32650): [2015.06.16-12.03.14:943][ 0]LogOnline:Warning: Async task ‘Login’ completed in 15.135531 seconds with 0
06-16 13:03:14.943: D/UE4(32650): [2015.06.16-12.03.14:943][ 0]LogOnline:Warning: FOnlineSubsystemGooglePlay::OnAuthActionFinished: sign-in operation with a null CurrentLoginTask
06-16 13:03:14.943: D/UE4(32650): [2015.06.16-12.03.14:943][ 0]LogInit: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes.
06-16 13:03:14.943: D/UE4(32650): [2015.06.16-12.03.14:943][ 0]LogInit: Object subsystem initialized
06-16 13:03:14.944: D/UE4(32650): [2015.06.16-12.03.14:944][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: ‘r.TextureStreaming = True’
06-16 13:03:14.944: D/UE4(32650): [2015.06.16-12.03.14:944][ 0]LogConsoleResponse:Warning: Found in ini file ‘…/…/…/MYGAME/Saved/Config/Android/Engine.ini’, in section ‘[/Script/Engine.RendererSettings]’
06-16 13:03:14.944: D/UE4(32650): [2015.06.16-12.03.14:944][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: ‘TranslucentSortAxis = (X=0.000000,Y=-1.000000,Z=0.000000)’
06-16 13:03:14.944: D/UE4(32650): [2015.06.16-12.03.14:944][ 0]LogConsoleResponse:Warning: Found in ini file ‘…/…/…/MYGAME/Saved/Config/Android/Engine.ini’, in section ‘[/Script/Engine.RendererSettings]’
06-16 13:03:14.945: D/UE4(32650): [2015.06.16-12.03.14:945][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: ‘UIScaleRule = ShortestSide’
06-16 13:03:14.945: D/UE4(32650): [2015.06.16-12.03.14:945][ 0]LogConsoleResponse:Warning: Found in ini file ‘…/…/…/MYGAME/Saved/Config/Android/Engine.ini’, in section ‘[/Script/Engine.RendererSettings]’
06-16 13:03:14.945: D/UE4(32650): [2015.06.16-12.03.14:945][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: ‘UIScaleCurve = (EditorCurveData=(Keys=),ExternalCurve=None)’
06-16 13:03:14.945: D/UE4(32650): [2015.06.16-12.03.14:945][ 0]LogConsoleResponse:Warning: Found in ini file ‘…/…/…/MYGAME/Saved/Config/Android/Engine.ini’, in section ‘[/Script/Engine.RendererSettings]’
06-16 13:03:14.945: D/UE4(32650): [2015.06.16-12.03.14:945][ 0]LogAndroid: Requires Mosaic: no
06-16 13:03:14.945: D/UE4(32650): [2015.06.16-12.03.14:945][ 0]LogAndroid: Setting Width=-8 and Height=-8 (requested scale = 1.000000)
06-16 13:03:14.946: D/UE4(32650): [2015.06.16-12.03.14:945][ 0]LogAndroid: Requires Mosaic: no
06-16 13:03:14.946: D/UE4(32650): [2015.06.16-12.03.14:946][ 0]LogAndroid: Setting Width=-8 and Height=-8 (requested scale = 1.000000)
06-16 13:03:14.946: D/UE4(32650): Assertion failed: PImplData->eglSurface != EGL_NO_SURFACE [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.8\Engine\Source\Runtime\OpenGLDrv\Private\Android\AndroidEGL.cpp] [Line: 233]
06-16 13:03:14.946: D/UE4(32650): eglCreateWindowSurface error : 0x3003
06-16 13:03:14.946: D/UE4(32650): [2015.06.16-12.03.14:946][ 0]Assertion failed: Assertion failed: PImplData->eglSurface != EGL_NO_SURFACE [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.8\Engine\Source\Runtime\OpenGLDrv\Private\Android\AndroidEGL.cpp] [Line: 233]
06-16 13:03:14.946: D/UE4(32650): eglCreateWindowSurface error : 0x3000

Made some changes last night and now it’s crashing on startup,
Any help would be highly appreciated.

Removing the Ad Mob Ad Unit ID seemed to fix this issue, if a developer could maybe explain why, or what the actual problem is that would be great.

Hi Divinitize, I messaged you on the forums, but I see you haven’t been active there since May. I was wondering if you could share about your experience running UE4 on the Moto E2. Would you recommend it as a baseline model for testing? I’m wondering how well the E2 performs with Mobile HDR ON/OFF and stationary/dynamic directional lights, or whether it really can only use the Unlit shading model to get decent fps. Thanks so much for your time and any insights you can share!

-Adam

Hi Adam,
I felt i better reply, but unfortunately We only tested our build on android very briefly before abandoning the project.
Sorry this is not the answer you’re looking for and a wish you the best with your project!

Hey no problem, thanks so much for letting me know. :slight_smile:

Have a great day!
-Adam