Build continually fails when building for Quest 2

Hi All,

I have tried with 4.26 and 4.27, using the old Oculus VR and the new VR templates. I have followed numerous tutorials online but no matter what i do Unreal keeps failing to build to my Quest 2. I am totally at my wits end, I have no idea why this is happening, and I am not particularly technical. Please can someone provide some help?

As follows:

LogPlayLevel: Building 4 actions with 12 processes…
LogPlayLevel: [1/4] SharedPCH.Core.h [armv7]
LogPlayLevel: In file included from :403:
LogPlayLevel: Warning: (2,9): warning: ‘ANDROID_API’ macro redefined [-Wmacro-redefined]
LogPlayLevel: #define ANDROID_API 21
LogPlayLevel: ^
LogPlayLevel: (394,9): note: previous definition is here
LogPlayLevel: #define ANDROID_API ANDROID_MIN_SDK_VERSION
LogPlayLevel: ^
LogPlayLevel: 1 warning generated.
LogPlayLevel: [2/4] VRTest.cpp [armv7]
LogPlayLevel: [3/4] VRTest-armv7.so
LogPlayLevel: Error: ld.lld: error: undefined symbol: __aeabi_unwind_cpp_pr1
LogPlayLevel: >>> referenced by Module.Launch.cpp
LogPlayLevel: >>> D:/Unreal/UE_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text._ZN16FAppEventManager11GetInstanceEv+0x0)
LogPlayLevel: >>> referenced by Module.Launch.cpp
LogPlayLevel: >>> D:/Unreal/UE_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text._ZN16FAppEventManager15DequeueAppEventEv+0x0)
LogPlayLevel: >>> referenced by Module.Launch.cpp
LogPlayLevel: >>> D:/Unreal/UE_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text._ZN16FAppEventManager17ReleaseMicrophoneEb+0x0)
LogPlayLevel: >>> referenced 151504 more times
LogPlayLevel: Error: ld.lld: error: undefined symbol: __aeabi_unwind_cpp_pr0
LogPlayLevel: >>> referenced by Module.Launch.cpp
LogPlayLevel: >>> D:/Unreal/UE_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text._ZN16FAppEventManager4TickEv+0x0)
LogPlayLevel: >>> referenced by Module.Launch.cpp
LogPlayLevel: >>> D:/Unreal/UE_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text._ZZN16FAppEventManager4TickEvEN4Impl21ExecCheckImplInternalEv+0x0)
LogPlayLevel: >>> referenced by Module.Launch.cpp
LogPlayLevel: >>> D:/Unreal/UE_4.26/Engine/Intermediate/Build/Android/UE4/Development/Launch/Module.Launch.cppa7.o:(.ARM.exidx.text._ZN16FAppEventManager17ExecWindowResizedEv+0x0)
LogPlayLevel: >>> referenced 342020 more times
LogPlayLevel: Error: clang++: error: linker command failed with exit code 1 (use -v to see invocation)
LogPlayLevel: Took 164.847146s to run UnrealBuildTool.exe, ExitCode=6
LogPlayLevel: UnrealBuildTool failed. See log for more details. (C:\Users\ansey\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Unreal+UE_4.26\UBT-VRTest-Android-Development.txt)
LogPlayLevel: AutomationTool exiting with ExitCode=6 (6)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 164.567547
LogPlayLevel: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error
LogAudioDerivedData: Display: Building compressed audio format OGG hash OGG10000-1-1-1-1-1 wave CompileFailed…
LogAudioDerivedData: Display: Compression Quality for SoundWave /Engine/EditorSounds/Notifications/CompileFailed.CompileFailed will be modified from 40 to 40.
LogAudioDerivedData: Display: Updated SoundWave->RawPCMDataSize from 0 to 89512 while cooking SoundWave /Engine/EditorSounds/Notifications/CompileFailed.CompileFailed.

i have the exact same problem. did you ever work it out?

if anyone is having this issue still; use armv6 not armv7 in the packaging section

1 Like