Hi!
I am developing for the Meta Quest 2 and have been using the MetaXR plugin!
The project I am working on inherited from the VR Template project, however I have since turned off the OpenXR plugins to instead work with MetaXR so that I can use the hand tracking features.
Unfortunately though I am unable to build the apk files! and I am not sure how to fix the problem. The program runs perfectly when I stream the game via airlink, the error only shows up when packaging.
Any help regarding this issue would be greatly appreciated, thanks!
UATHelper: Packaging (Android (ASTC)): Unhandled exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
UATHelper: Packaging (Android (ASTC)): at EpicGames.Core.FileSystemReference.ContainsName(String name, Int32 offset, Int32 length) in A:\GameDev\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Core\FileSystemReference.cs:line 168
UATHelper: Packaging (Android (ASTC)): at EpicGames.Core.FileSystemReference.ContainsName(String name, Int32 offset) in A:\GameDev\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Core\FileSystemReference.cs:line 155
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.LinkEnvironment.<>c__DisplayClass70_0.<.ctor>b__0(FileItem x) in A:\GameDev\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\System\LinkEnvironment.cs:line 457
UATHelper: Packaging (Android (ASTC)): at System.Linq.Enumerable.WhereListIterator`1.ToList()
UATHelper: Packaging (Android (ASTC)): at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.LinkEnvironment..ctor(LinkEnvironment Other, UnrealArch OverrideArchitecture) in A:\GameDev\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\System\LinkEnvironment.cs:line 457
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.UEToolChain.LinkAllFiles(LinkEnvironment LinkEnvironment, Boolean bBuildImportLibraryOnly, IActionGraphBuilder Graph) in A:\GameDev\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\ToolChain\UEToolChain.cs:line 138
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.UEBuildBinary.Build(ReadOnlyTargetRules Target, UEToolChain ToolChain, CppCompileEnvironment CompileEnvironment, LinkEnvironment LinkEnvironment, ISourceFileWorkingSet WorkingSet, DirectoryReference ExeDir, IActionGraphBuilder Graph, ILogger Logger) in A:\GameDev\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildBinary.cs:line 216
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.UEBuildTarget.BuildAsync(BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, TargetDescriptor TargetDescriptor, ILogger Logger, Boolean bInitOnly) in A:\GameDev\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 2597
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.BuildMode.CreateMakefileAsync(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDescriptor, ISourceFileWorkingSet WorkingSet, ILogger Logger) in A:\GameDev\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 1130
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.BuildMode.BuildAsync(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger, Boolean bSkipPreBuildTargets) in A:\GameDev\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 396
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in A:\GameDev\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 252
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in A:\GameDev\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 659
UATHelper: Packaging (Android (ASTC)): Took 4.46s to run dotnet.exe, ExitCode=6