title: Can't build Unreal Engine 4 project with Microsoft OpenXR plugin
body: <p>I am on on Unreal Engine 4.26.1. I am using Microsoft OpenXR 1.0. I have placed the plugin release files from <a href="https://github.com/microsoft/Microsoft-OpenXR-Unreal/releases" rel="nofollow noreferrer">https://github.com/microsoft/Microsoft-OpenXR-Unreal/releases</a> in the Plugins folder of my Unreal project folder. I am able to compile all project source code from within the editor successfully.</p>
  <p>However, when I attempt to package my project, I get the following error:</p>
  <pre><code>LogUObjectHash: Compacting FUObjectHashTables data took   0.88ms
  LogMainFrame: Selected target: HoloLensTest
  LogLauncherProfile: Unable to use promoted target - ../../../../../../Users/sealfoss/Documents/Unreal Projects/HoloLensTest/Binaries/HoloLens/HoloLensTest.target does not exist.
  UATHelper: Packaging (HoloLens): Running AutomationTool...
  UATHelper: Packaging (HoloLens): Parsing command line: -ScriptsForProject=&quot;C:/Users/sealfoss/Documents/Unreal Projects/HoloLensTest/HoloLensTest.uproject&quot; BuildCookRun -nocompileeditor -installed -nop4 -project=&quot;C:/Users/sealfoss/Documents/Unreal Projects/HoloLensTest/HoloLensTest.uproject&quot; -cook -stage -archive -archivedirectory=C:/Users/sealfoss/Documents/
  UnrealBuilds/HoloLensTest -package -ue4exe=&quot;C:\Program Files\Epic Games\UE_4.26\Engine\Binaries\Win64\UE4Editor-Cmd.exe&quot; -ddc=InstalledDerivedDataBackendGraph -pak -prereqs -nodebuginfo -targetplatform=HoloLens -build -target=HoloLensTest -clientconfig=Development -utf8output
  UATHelper: Packaging (HoloLens): Setting up ProjectParams for C:\Users\sealfoss\Documents\Unreal Projects\HoloLensTest\HoloLensTest.uproject
  UATHelper: Packaging (HoloLens): ********** BUILD COMMAND STARTED **********
  UATHelper: Packaging (HoloLens): Running: C:\Program Files\Epic Games\UE_4.26\Engine\Binaries\DotNET\UnrealBuildTool.exe HoloLensTest HoloLens Development -Project=&quot;C:\Users\sealfoss\Documents\Unreal Projects\HoloLensTest\HoloLensTest.uproject&quot;  &quot;C:\Users\sealfoss\Documents\Unreal Projects\HoloLensTest\HoloLensTest.uproject&quot; -NoUBTMakefiles  -remoteini=&quot;C:\U
  sers\sealfoss\Documents\Unreal Projects\HoloLensTest&quot; -Architecture=arm64 -Manifest=&quot;C:\Users\sealfoss\Documents\Unreal Projects\HoloLensTest\Intermediate\Build\Manifest.xml&quot; -NoHotReload -log=&quot;C:\Users\sealfoss\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.26\UBT-HoloLensTest-HoloLens-Development.txt&quot;
  UATHelper: Packaging (HoloLens):   Using ARM64 architecture for deploying to HoloLens device
  UATHelper: Packaging (HoloLens):   Building using Windows SDK version 10.0.18362.0 for HoloLens
  UATHelper: Packaging (HoloLens):   Writing manifest to C:\Users\sealfoss\Documents\Unreal Projects\HoloLensTest\Intermediate\Build\Manifest.xml
  UATHelper: Packaging (HoloLens):   Building HoloLensTest...
  UATHelper: Packaging (HoloLens):   Building 2 actions with 32 processes...
  UATHelper: Packaging (HoloLens):     [1/2] HoloLensTestarm64.exe
  UATHelper: Packaging (HoloLens):     MixedRealityInteropHoloLens.lib(MixedRealityInterop.obj) : error LNK2038: mismatch detected for 'C++/WinRT version': value '2.0.201113.7' doesn't match value '2.0.200729.8' in PCH.MicrosoftOpenXR.h.obj
  UATHelper: Packaging (HoloLens):     MixedRealityInteropHoloLens.lib(CameraImageCapture.obj) : error LNK2038: mismatch detected for 'C++/WinRT version': value '2.0.201113.7' doesn't match value '2.0.200729.8' in PCH.MicrosoftOpenXR.h.obj
  UATHelper: Packaging (HoloLens):     MixedRealityInteropHoloLens.lib(AzureSpatialAnchors.obj) : error LNK2038: mismatch detected for 'C++/WinRT version': value '2.0.201113.7' doesn't match value '2.0.200729.8' in PCH.MicrosoftOpenXR.h.obj
  UATHelper: Packaging (HoloLens):     MixedRealityInteropHoloLens.lib(SpatialAnchorHelper.obj) : error LNK2038: mismatch detected for 'C++/WinRT version': value '2.0.201113.7' doesn't match value '2.0.200729.8' in PCH.MicrosoftOpenXR.h.obj
  UATHelper: Packaging (HoloLens):     MixedRealityInteropHoloLens.lib(HandMeshObserver.obj) : error LNK2038: mismatch detected for 'C++/WinRT version': value '2.0.201113.7' doesn't match value '2.0.200729.8' in PCH.MicrosoftOpenXR.h.obj
  UATHelper: Packaging (HoloLens):     MixedRealityInteropHoloLens.lib(MeshObserver.obj) : error LNK2038: mismatch detected for 'C++/WinRT version': value '2.0.201113.7' doesn't match value '2.0.200729.8' in PCH.MicrosoftOpenXR.h.obj
  UATHelper: Packaging (HoloLens):     MixedRealityInteropHoloLens.lib(SceneUnderstandingObserver.obj) : error LNK2038: mismatch detected for 'C++/WinRT version': value '2.0.201113.7' doesn't match value '2.0.200729.8' in PCH.MicrosoftOpenXR.h.obj
  UATHelper: Packaging (HoloLens):     MixedRealityInteropHoloLens.lib(QRCodeObserver.obj) : error LNK2038: mismatch detected for 'C++/WinRT version': value '2.0.201113.7' doesn't match value '2.0.200729.8' in PCH.MicrosoftOpenXR.h.obj
  UATHelper: Packaging (HoloLens):        Creating library C:\Users\sealfoss\Documents\Unreal Projects\HoloLensTest\Binaries\HoloLens\HoloLensTestarm64.lib and object C:\Users\sealfoss\Documents\Unreal Projects\HoloLensTest\Binaries\HoloLens\HoloLensTestarm64.exp
  UATHelper: Packaging (HoloLens):     C:\Users\sealfoss\Documents\Unreal Projects\HoloLensTest\Binaries\HoloLens\HoloLensTestarm64.exe : fatal error LNK1319: 8 mismatches detected
  UATHelper: Packaging (HoloLens): Took 7.6195669s to run UnrealBuildTool.exe, ExitCode=6
  UATHelper: Packaging (HoloLens): UnrealBuildTool failed. See log for more details. (C:\Users\sealfoss\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.26\UBT-HoloLensTest-HoloLens-Development.txt)
  UATHelper: Packaging (HoloLens): AutomationTool exiting with ExitCode=6 (6)
  UATHelper: Packaging (HoloLens): BUILD FAILED
  PackagingResults: Error: Unknown Error
  </code></pre>
  <p>Any help is appreciated. Thanks in advance.</p>