Android game crashes on startup

I created a new project based on the Top Down C++ template. I built it for Android and launched it on my Samsung Galaxy Nexus and it crashes immediately.

05-07 02:25:06.424: D/UE4(24334): [2014.05.06-20.55.06:429][ 0]LogMaterial:Warning: Failed to compile Material /Engine/EngineMaterials/AntiAliasedTextMaterialTranslucent.AntiAliasedTextMaterialTranslucent for platform GLSL_ES2, Default Material will be used in game. 05-07 02:25:06.487: E/libEGL(24334): called unimplemented OpenGL ES API ... 05-07 02:25:06.666: D/UE4(24334): [2014.05.06-20.55.06:674][ 0]LogWorld: Game class is 'MobileTestGameMode' ... 05-07 02:25:06.815: D/UE4(24334): [2014.05.06-20.55.06:824][ 0]LogWorld:Warning: *** WARNING - PATHS MAY NOT BE VALID *** ... 05-07 02:25:06.823: D/UE4(24334): [2014.05.06-20.55.06:824][ 0]LogWorld: Bringing World /Temp/Autosaves/Game/Maps/UEDPCExample_Map.Example_Map up for play (max tick rate 0) at 2014.05.07-02.25.06 ... 05-07 02:25:06.885: D/UE4(24334): [2014.05.06-20.55.06:888][ 0]LogGameMode: RestartPlayer Player 05-07 02:25:06.979: D/UE4(24334): [2014.05.06-20.55.06:983][ 0]LogPlayerController: ClientRestart_Implementation MyCharacter_C_0 ... 05-07 02:25:06.979: D/UE4(24334): [2014.05.06-20.55.06:984][ 0]LogPlayerController: ServerAcknowledgePossession_Implementation MyCharacter_C_0 ... 05-07 02:25:07.010: D/UE4(24334): [2014.05.06-20.55.07:014][ 0]LogInit:Display: Game Engine Initialized. ... 05-07 02:24:44.096: D/UE4(24291): D:\Github\UnrealEngine\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp(176): Fatal error: 05-07 02:24:44.096: D/UE4(24291): Assertion failed: Size > 0 [File:D:\Github\UnrealEngine\Engine\Source\Runtime\OpenGLDrv\Private\OpenGLVertexBuffer.cpp] [Line: 28] 05-07 02:24:44.096: D/UE4(24291): Stack: 05-07 02:24:44.096: D/UE4(24291): [Callstack] 0x00000000 05-07 02:24:44.096: D/UE4(24291): [2014.05.06-20.54.44:100][ 0]LogOutputDevice:Fatal: Assertion failed: Size > 0 [File:D:\Github\UnrealEngine\Engine\Source\Runtime\OpenGLDrv\Private\OpenGLVertexBuffer.cpp] [Line: 28] 05-07 02:24:44.096: D/UE4(24291): Stack: 05-07 02:24:44.096: D/UE4(24291): [Callstack] 0x00000000 05-07 02:24:44.096: A/libc(24291): Fatal signal 6 (SIGABRT) at 0x00005ee3 (code=-6), thread 24313 (Rendering 0) 05-07 02:24:44.096: D/UE4(24291): [2014.05.06-20.54.44:102][ 0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(1) ..

Even Memory Game crashes with the same error. A lot of the logs appear duplicated (I’ve removed the duplicates). I wonder if that is indicative of anything.

The entire crash log is here I/ActivityManager( 462): Displayed com.epicgames.MobileTest/com.epicgames.ue4.G - Pastebin.com

As far as I know that is fixed in the mainline. And will be part of the 4.2 release.

I couldn’t get the master branch to even build. Is there any work-around for this using the 4.1 branch?

Two options:

Thanks, it worked!