Hey everyone
I am trying to package my Rift S game for Quest 2 with UE5.0.
For some reason i keep getting the following. I never had this error before and i dont get it when i package for windows. I have not been able to find enyone else with the same error.
UATHelper: Packaging (Android (ASTC)): In file included from C:/Users/retin/Documents/Unreal Projects/ReTiNaVR_2020_09_03 5.0/Source/VRmolecularBuilderV2/Private/importExportLib.cpp:7:
UATHelper: Packaging (Android (ASTC)): In file included from C:/Program Files/Epic Games/UE_5.0/Engine/Source/Runtime/Core/Public\Windows/MinWindows.h:8:
> UATHelper: Packaging (Android (ASTC)): C:/Program Files/Epic Games/UE_5.0/Engine/Source/Runtime/Core/Public\Microsoft/MinWindows.h(9,11): fatal error: ‘Microsoft/MinWindowsPrivate.h’ file not found
> UATHelper: Packaging (Android (ASTC)): include “Microsoft/MinWindowsPrivate.h”
UATHelper: Packaging (Android (ASTC)): ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UATHelper: Packaging (Android (ASTC)): 1 error generated.
> PackagingResults: Error: ‘Microsoft/MinWindowsPrivate.h’ file not found
UATHelper: Packaging (Android (ASTC)): [2/4] clang++ MathLib.cpp [arm64]
> UATHelper: Packaging (Android (ASTC)): C:/Users/retin/Documents/Unreal Projects/ReTiNaVR_2020_09_03 5.0/Source/VRmolecularBuilderV2/Private/MathLib.cpp(2,9): error: #pragma once in main file [-Werror,-Wpragma-once-outside-header]
> UATHelper: Packaging (Android (ASTC)): #pragma once
UATHelper: Packaging (Android (ASTC)): ^
UATHelper: Packaging (Android (ASTC)): 1 error generated.
> PackagingResults: Error: #pragma once in main file [-Werror,-Wpragma-once-outside-header]
UATHelper: Packaging (Android (ASTC)): Took 14,205092500000001s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool failed. See log for more details. (C:\Users\retin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.0\UBT-VRmolecularBuilderV2-Android-Development.txt)
UATHelper: Packaging (Android (ASTC)): AutomationTool executed for 0h 0m 16s
UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Android (ASTC)): Updating environment variables set by a Turnkey sub-process
UATHelper: Packaging (Android (ASTC)): The system cannot find the path specified.
UATHelper: Packaging (Android (ASTC)): The system cannot find the path specified.