I am attempting to make a GearVR App with Unreal 4.14.1. Unfortunately the app is going to require a rather large OBB file. The file is currently 3.2GB in size. The app builds and packages fine but fails to launch due to the following assert:
FileLength >= kEOCDLen
The kEOCDLen has the value ‘22’, I have to imagine the OBB would report more than 22 bytes in size but appears to not be doing so resulting in the app exiting on launch.
Is there a way to avoid this issue? What is the proper way to load large OBB files for GearVR?
Here is more of the log if it helps:
12-14 11:20:13.511 13319 13319 D UE4 : ==============> Resuming main init
12-14 11:20:13.511 13319 13332 D UE4 : Final commandline:
12-14 11:20:13.511 13319 13332 D UE4 : Created sync event
12-14 11:20:13.511 13319 13332 D UE4 : Assertion failed: FileLength >= kEOCDLen [File:C:\jenkins\UnrealEngine\UnrealEngine_414\Engine\Source\Runtime\Core\Private\Android\AndroidFile.cpp] [Line: 576]
12-14 11:20:13.511 13319 13332 D UE4 : libUE4.so!FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, …)
12-14 11:20:13.511 13319 13332 D UE4 : libUE4.so!FZipUnionFile::AddPatchFile(TSharedPtr)
12-14 11:20:13.511 13319 13332 D UE4 : libUE4.so!FAndroidPlatformFile::MountOBB(wchar_t const*)
12-14 11:20:13.511 13319 13332 D UE4 : libUE4.so!FAndroidPlatformFile::Initialize(IPlatformFile*, wchar_t const*)
12-14 11:20:13.511 13319 13332 D UE4 : libUE4.so!AndroidMain(android_app*)
12-14 11:20:13.511 13319 13332 D UE4 : libUE4.so!android_main()
12-14 11:20:13.511 13319 13332 D UE4 : libUE4.so
12-14 11:20:13.511 13319 13332 D UE4 : libc.so
12-14 11:20:13.511 13319 13332 D UE4 : libc.so
12-14 11:20:13.511 13319 13332 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 13332 (Thread-4727)
12-14 11:20:13.521 13319 13319 D UE4 : ==============> GameActive.onResume complete!