Building Lyra for Android

Hello all,

I am having an issue trying to build Lyra 5.1 for Mobile. I keep getting these unknown errors and not sure how to solve them.

Here is the output log.

LogUObjectHash: Compacting FUObjectHashTables data took   1.57ms
LogPlayLevel: Launcher Device ID: Android_ASTC@2c06087a
LogPlayLevel: PlayLevel: No blueprints needed recompiling
LogLauncherProfile: Unable to use promoted target - ../../../../../../Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Binaries/Android/LyraGame.target does not exist.
LogPlayLevel: UAT: Running AutomationTool...
LogPlayLevel: UAT: Using bundled DotNet SDK version: 6.0.302
LogPlayLevel: UAT: Starting AutomationTool...
LogPlayLevel: UAT: Parsing command line: -ScriptsForProject="C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/LyraStarterGame.uproject" BuildCookRun -project="C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/LyraStarterGame.uproject" -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -installed -unrealexe="C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -utf8output -platform=Android -cookflavor=ASTC -target=LyraGame -build -cook -map=/ShooterMaps/Maps/L_Expanse+/ShooterMaps/Maps/L_Expa
nse -CookCultures=en -unversionedcookedcontent -stage -deploy -cmdline="/ShooterMaps/Maps/L_Expanse -Messaging" -device=Android_ASTC@2c06087a -addcmdline="-SessionId=F2E61AFE46A0E134286F9E9D4990C0CA -SessionOwner='azsarg' -SessionName='Launch On Device'  " -run
LogPlayLevel: UAT: Initializing script modules...
LogPlayLevel: UAT: Total script module initialization time: 0.51 s.
LogPlayLevel: UAT: Executing commands...
LogPlayLevel: UAT: Setting up ProjectParams for C:\Users\azsarg\Documents\Unreal Projects\LyraStarterGameAtmos5_1_V1.1\LyraStarterGame.uproject
LogPlayLevel: Warning: UAT: WARNING: LyraGameEOS and dynamic target options are disabled when packaging from an installed version of the engine
LogPlayLevel: UAT: Compiling GameFeaturePlugins in branch ++UE5+Release-5.1
LogPlayLevel: UAT: ********** BUILD COMMAND STARTED **********
LogPlayLevel: Completed Launch On Stage: Launch Task, Time: 3.512738
LogPlayLevel: UAT: Running: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" LyraGame Android Development -Project="C:\Users\azsarg\Documents\Unreal Projects\LyraStarterGameAtmos5_1_V1.1\LyraStarterGame.uproject"  "C:\Users\azsarg\Documents\Unreal Projects\LyraStarterGameAtmos5_1_V1.1\LyraStarterGame.uproject" -NoUBTMakefiles  -remoteini="C:\Users\azsarg\Documents\Unreal Projects\LyraStarterGameAtmos5_1_V1.1" -skipdeploy -Manifest="C:\Users\azsarg\Docum
ents\Unreal Projects\LyraStarterGameAtmos5_1_V1.1\Intermediate\Build\Manifest.xml" -NoHotReload -log="C:\Users\azsarg\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\UBT-LyraGame-Android-Development.txt"
LogPlayLevel: UAT: Log file: C:\Users\azsarg\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\UBT-LyraGame-Android-Development.txt
LogPlayLevel: Warning: UAT: C:\Users\azsarg\Documents\Unreal Projects\LyraStarterGameAtmos5_1_V1.1\Plugins\DolbyAtmos\DolbyAtmos.uplugin: warning: Unknown platform XSX while parsing allow list for module descriptor DolbyAtmos
LogPlayLevel: Warning: UAT: WARNING: LyraGameEOS and dynamic target options are disabled when packaging from an installed version of the engine
LogPlayLevel: UAT: Android (8490178, based on r450784d) clang version 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)
LogPlayLevel: UAT: Target: x86_64-w64-windows-gnu
LogPlayLevel: UAT: Thread model: posix
LogPlayLevel: UAT: InstalledDir: C:/Users/azsarg/AppData/Local/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/bin
LogPlayLevel: UAT: Android (8490178, based on r450784d) clang version 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)
LogPlayLevel: UAT: Target: x86_64-w64-windows-gnu
LogPlayLevel: UAT: Thread model: posix
LogPlayLevel: UAT: InstalledDir: C:/Users/azsarg/AppData/Local/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/bin
LogPlayLevel: UAT: Android (8490178, based on r450784d) clang version 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)
LogPlayLevel: UAT: Target: x86_64-w64-windows-gnu
LogPlayLevel: UAT: Thread model: posix
LogPlayLevel: UAT: InstalledDir: C:/Users/azsarg/AppData/Local/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/bin
LogPlayLevel: UAT: NDK toolchain: r25b, NDK version: 250200, ClangVersion: 14.0.6
LogPlayLevel: UAT: Compiling Native 64-bit code with NDK API 'android-26'
LogPlayLevel: UAT: Writing manifest to C:\Users\azsarg\Documents\Unreal Projects\LyraStarterGameAtmos5_1_V1.1\Intermediate\Build\Manifest.xml
LogPlayLevel: UAT: Building LyraGame...
LogPlayLevel: UAT: Determining max actions to execute in parallel (32 physical cores, 64 logical cores)
LogPlayLevel: UAT:   Executing up to 32 processes, one per physical core
LogPlayLevel: UAT: Building 2 actions with 2 processes...
LogPlayLevel: UAT: [1/2] clang++ LyraGame-arm64.so
LogPlayLevel: Error: UAT: ld.lld: error: undefined symbol: UTDM_PlayerSpawningManagmentComponent::UTDM_PlayerSpawningManagmentComponent(FObjectInitializer const&)
LogPlayLevel: UAT: >>> referenced by TDM_PlayerSpawningManagmentComponent.h:23 (C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Plugins/GameFeatures/ShooterCore/Source/ShooterCoreRuntime/Private/TDM_PlayerSpawningManagmentComponent.h:23)
LogPlayLevel: UAT: >>>               C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Plugins/GameFeatures/ShooterCore/Intermediate/Build/Android/UnrealGame/Development/ShooterCoreRuntime/Module.ShooterCoreRuntime.cppa8.o:(void InternalConstructor<UTDM_PlayerSpawningManagmentComponent>(FObjectInitializer const&))
LogPlayLevel: Error: UAT: ld.lld: error: undefined symbol: ULyraPlayerSpawningManagerComponent::InitializeComponent()
LogPlayLevel: UAT: >>> referenced by Module.ShooterCoreRuntime.cpp
LogPlayLevel: UAT: >>>               C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Plugins/GameFeatures/ShooterCore/Intermediate/Build/Android/UnrealGame/Development/ShooterCoreRuntime/Module.ShooterCoreRuntime.cppa8.o:(vtable for UTDM_PlayerSpawningManagmentComponent)
LogPlayLevel: UAT: >>> referenced by Module.LyraGame.2_of_3.cpp
LogPlayLevel: UAT: >>>               C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Intermediate/Build/Android/UnrealGame/Development/LyraGame/Module.LyraGame.2_of_3.cppa8.o:(vtable for ULyraPlayerSpawningManagerComponent)
LogPlayLevel: Error: UAT: ld.lld: error: undefined symbol: ULyraPlayerSpawningManagerComponent::TickComponent(float, ELevelTick, FActorComponentTickFunction*)
LogPlayLevel: UAT: >>> referenced by Module.ShooterCoreRuntime.cpp
LogPlayLevel: UAT: >>>               C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Plugins/GameFeatures/ShooterCore/Intermediate/Build/Android/UnrealGame/Development/ShooterCoreRuntime/Module.ShooterCoreRuntime.cppa8.o:(vtable for UTDM_PlayerSpawningManagmentComponent)
LogPlayLevel: UAT: >>> referenced by Module.LyraGame.2_of_3.cpp
LogPlayLevel: UAT: >>>               C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Intermediate/Build/Android/UnrealGame/Development/LyraGame/Module.LyraGame.2_of_3.cppa8.o:(vtable for ULyraPlayerSpawningManagerComponent)
LogPlayLevel: Error: UAT: ld.lld: error: undefined symbol: UTDM_PlayerSpawningManagmentComponent::OnChoosePlayerStart(AController*, TArray<ALyraPlayerStart*, TSizedDefaultAllocator<32> >&)
LogPlayLevel: UAT: >>> referenced by Module.ShooterCoreRuntime.cpp
LogPlayLevel: UAT: >>>               C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Plugins/GameFeatures/ShooterCore/Intermediate/Build/Android/UnrealGame/Development/ShooterCoreRuntime/Module.ShooterCoreRuntime.cppa8.o:(vtable for UTDM_PlayerSpawningManagmentComponent)
LogPlayLevel: Error: UAT: ld.lld: error: undefined symbol: UTDM_PlayerSpawningManagmentComponent::OnFinishRestartPlayer(AController*, UE::Math::TRotator<double> const&)
LogPlayLevel: UAT: >>> referenced by Module.ShooterCoreRuntime.cpp
LogPlayLevel: UAT: >>>               C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Plugins/GameFeatures/ShooterCore/Intermediate/Build/Android/UnrealGame/Development/ShooterCoreRuntime/Module.ShooterCoreRuntime.cppa8.o:(vtable for UTDM_PlayerSpawningManagmentComponent)
LogPlayLevel: Error: UAT: ld.lld: error: undefined symbol: ULyraPlayerSpawningManagerComponent::ChoosePlayerStart(AController*)
LogPlayLevel: UAT: >>> referenced by LyraGameMode.cpp:266 (C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Source/LyraGame/GameModes/LyraGameMode.cpp:266)
LogPlayLevel: UAT: >>>               C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Intermediate/Build/Android/UnrealGame/Development/LyraGame/Module.LyraGame.2_of_3.cppa8.o:(ALyraGameMode::ChoosePlayerStart_Implementation(AController*))
LogPlayLevel: Error: UAT: ld.lld: error: undefined symbol: ULyraPlayerSpawningManagerComponent::FinishRestartPlayer(AController*, UE::Math::TRotator<double> const&)
LogPlayLevel: UAT: >>> referenced by LyraGameMode.cpp:276 (C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Source/LyraGame/GameModes/LyraGameMode.cpp:276)
LogPlayLevel: UAT: >>>               C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Intermediate/Build/Android/UnrealGame/Development/LyraGame/Module.LyraGame.2_of_3.cppa8.o:(ALyraGameMode::FinishRestartPlayer(AController*, UE::Math::TRotator<double> const&))
LogPlayLevel: Error: UAT: ld.lld: error: undefined symbol: ULyraPlayerSpawningManagerComponent::ControllerCanRestart(AController*)
LogPlayLevel: UAT: >>> referenced by LyraGameMode.cpp:307 (C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Source/LyraGame/GameModes/LyraGameMode.cpp:307)
LogPlayLevel: UAT: >>>               C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Intermediate/Build/Android/UnrealGame/Development/LyraGame/Module.LyraGame.2_of_3.cppa8.o:(ALyraGameMode::ControllerCanRestart(AController*))
LogPlayLevel: Error: UAT: ld.lld: error: undefined symbol: ULyraPlayerSpawningManagerComponent::ULyraPlayerSpawningManagerComponent(FObjectInitializer const&)
LogPlayLevel: UAT: >>> referenced by LyraPlayerSpawningManagerComponent.h:23 (C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Source/LyraGame/Player/LyraPlayerSpawningManagerComponent.h:23)
LogPlayLevel: UAT: >>>               C:/Users/azsarg/Documents/Unreal Projects/LyraStarterGameAtmos5_1_V1.1/Intermediate/Build/Android/UnrealGame/Development/LyraGame/Module.LyraGame.2_of_3.cppa8.o:(void InternalConstructor<ULyraPlayerSpawningManagerComponent>(FObjectInitializer const&))
LogPlayLevel: Error: UAT: clang++: error: linker command failed with exit code 1 (use -v to see invocation)
LogPlayLevel: UAT: [2/2] WriteMetadata LyraGame.target cancelled
LogPlayLevel: UAT: Took 7.4675911s to run dotnet.exe, ExitCode=6
LogPlayLevel: UAT: UnrealBuildTool failed. See log for more details. (C:\Users\azsarg\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\UBT-LyraGame-Android-Development.txt)
LogPlayLevel: UAT: AutomationTool executed for 0h 0m 10s
LogPlayLevel: UAT: AutomationTool exiting with ExitCode=6 (6)
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 7.008604
LogPlayLevel: UAT: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error
1 Like