Having a massive issue where if I am packaging a project to Android and I use ARcore or any augmented reality plugin I get a straight error when packaging. I have followed all the instructions I can online and the project does package to an APK when plugins are disabled but as soon as I turn them on and package it fails.
UATHelper: Packaging (Android (ASTC)): Total execution time: 17.35 seconds
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 D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\FileSystemReference.cs:line 168
UATHelper: Packaging (Android (ASTC)): at EpicGames.Core.FileSystemReference.ContainsName(String name, Int32 offset) in D:\build\++UE5\Sync\Engine\Saved\CsTools\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 D:\build\++UE5\Sync\Engine\Saved\CsTools\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 UnrealBuildTool.LinkEnvironment..ctor(LinkEnvironment Other, UnrealArch OverrideArchitecture) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\LinkEnvironment.cs:line 457
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.UEToolChain.LinkAllFiles(LinkEnvironment LinkEnvironment, Boolean bBuildImportLibraryOnly, IActionGraphBuilder Graph) in D:\build\++UE5\Sync\Engine\Saved\CsTools\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 D:\build\++UE5\Sync\Engine\Saved\CsTools\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 D:\build\++UE5\Sync\Engine\Saved\CsTools\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 D:\build\++UE5\Sync\Engine\Saved\CsTools\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 D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 396
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 252
UATHelper: Packaging (Android (ASTC)): at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 659
UATHelper: Packaging (Android (ASTC)): Took 18.03s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool failed. See log for more details. (C:\Users\Brian\AppData\Roaming\Unreal Engine\AutomationTool\Logs\A+Games+UE_5.3\UBT-topDeleete-Android-Development.txt)
UATHelper: Packaging (Android (ASTC)): AutomationTool executed for 0h 0m 21s
UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults: Error: Unknown Error