# Error while packaging hololens unreal app NuGetModule

**URL:** <https://forums.unrealengine.com/t/error-while-packaging-hololens-unreal-app-nugetmodule/555523>\
**Category:** Game Development\
**Tags:** error, unreal-engine, Work-in-Progress, UE4-27\
**Created:** [May 12, 2022, 1:36pm UTC](https://forums.unrealengine.com/t/error-while-packaging-hololens-unreal-app-nugetmodule/555523 "2022-05-12T13:36:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subhanuddin82](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Subhanuddin82](https://forums.unrealengine.com/u/Subhanuddin82)\
**Post date:** [May 12, 2022, 1:36pm UTC](https://forums.unrealengine.com/t/error-while-packaging-hololens-unreal-app-nugetmodule/555523/1 "2022-05-12T13:36:33Z")

</div>

I can getting following error when packaging app for HoloLens. I am using 4.27.2 and Visual Studio 2019

_UATHelper: Packaging (HoloLens): ERROR: Missing precompiled manifest for ‘NuGetModule’. This module was most likely not flagged for being included in a precompiled build - set ‘PrecompileForTargets = PrecompileTargetsType.Any;’ in NuGetModule.build.cs to override._  
_PackagingResults: Error: Missing precompiled manifest for ‘NuGetModule’. This module was most likely not flagged for being included in a precompiled build - set ‘PrecompileForTargets = PrecompileTargetsType.Any;’ in NuGetModule.build.cs to override._

---

<div class="post-metadata">

**Author:** ![Tsanyfarhannn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tsanyfarhannn](https://forums.unrealengine.com/u/Tsanyfarhannn)\
**Post date:** [May 13, 2022, 4:48am UTC](https://forums.unrealengine.com/t/error-while-packaging-hololens-unreal-app-nugetmodule/555523/2 "2022-05-13T04:48:42Z")

</div>

Yeah me too please help us

---

<div class="post-metadata">

**Author:** ![SINDRAGONB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SINDRAGONB](https://forums.unrealengine.com/u/SINDRAGONB)\
**Post date:** [May 13, 2022, 3:04pm UTC](https://forums.unrealengine.com/t/error-while-packaging-hololens-unreal-app-nugetmodule/555523/3 "2022-05-13T15:04:00Z")

</div>

I solved the problem. I uninstalled the Microsoft OpenXR plugin from the Unreal Engine Marketplace. And I used the plugin from GitHub.

---

<div class="post-metadata">

**Author:** ![Subhanuddin82](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Subhanuddin82](https://forums.unrealengine.com/u/Subhanuddin82)\
**Post date:** [May 16, 2022, 8:20pm UTC](https://forums.unrealengine.com/t/error-while-packaging-hololens-unreal-app-nugetmodule/555523/4 "2022-05-16T20:20:42Z")

</div>

Thanks. I will try this.

---

<div class="post-metadata">

**Author:** ![Ki4v4sh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ki4v4sh](https://forums.unrealengine.com/u/Ki4v4sh)\
**Post date:** [May 17, 2022, 6:00pm UTC](https://forums.unrealengine.com/t/error-while-packaging-hololens-unreal-app-nugetmodule/555523/5 "2022-05-17T18:00:13Z")

</div>

> [@SINDRAGONB](#):
>
> Microsoft OpenXR

Hello,  
I also have the same problem as you. Did it work?  
I am not sure how to add the Open XR plugin to my project once I have copied the “plugins” folder from the github page clone. Could you maybe help me?

---

<div class="post-metadata">

**Author:** ![JesseSPIE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JesseSPIE](https://forums.unrealengine.com/u/JesseSPIE)\
**Post date:** [May 19, 2022, 9:07am UTC](https://forums.unrealengine.com/t/error-while-packaging-hololens-unreal-app-nugetmodule/555523/6 "2022-05-19T09:07:08Z")

</div>

Did you manage to get it working? Because if I use the github plugin, I only get more errors telling me that modules are missing (like NuGetModule).

EDIT: I opened C:\Program Files\Epic Games\UE\_4.27\Engine\Plugins\Marketplace and copied the MicrosoftOpenXR folder to the plugins folder of my project. Now when I build no errors like _Packaging (HoloLens): ERROR: Missing precompiled manifest for ‘NuGetModule’._ occure. Hopefully this helps you too!

---

<div class="post-metadata">

**Author:** ![Subhanuddin82](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Subhanuddin82](https://forums.unrealengine.com/u/Subhanuddin82)\
**Post date:** [May 20, 2022, 5:08am UTC](https://forums.unrealengine.com/t/error-while-packaging-hololens-unreal-app-nugetmodule/555523/7 "2022-05-20T05:08:42Z")

</div>

Yes it worked for me. Thanks for the help.

---

<div class="post-metadata">

**Author:** ![Subhanuddin82](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Subhanuddin82](https://forums.unrealengine.com/u/Subhanuddin82)\
**Post date:** [May 20, 2022, 5:14am UTC](https://forums.unrealengine.com/t/error-while-packaging-hololens-unreal-app-nugetmodule/555523/8 "2022-05-20T05:14:49Z")

</div>

follow this link,

> **[GitHub - microsoft/Microsoft-OpenXR-Unreal: An Unreal Engine game plugin...](https://github.com/microsoft/Microsoft-OpenXR-Unreal)**
>
> An Unreal Engine game plugin providing additional features available on Microsoft's Mixed Reality devices like the HoloLens 2 when using OpenXR. - GitHub - microsoft/Microsoft-OpenXR-Unreal: An...

Plugin should be enable by default once you copy it to plugins folder.

---

<div class="post-metadata">

**Author:** ![Jackdos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jackdos](https://forums.unrealengine.com/u/Jackdos)\
**Post date:** [February 10, 2023, 4:11am UTC](https://forums.unrealengine.com/t/error-while-packaging-hololens-unreal-app-nugetmodule/555523/9 "2023-02-10T04:11:48Z")

</div>

You may missing the nuget.exe file, or the file version has a problem.

Backup this file First！(if exist)

The latest version can be in [NuGet Gallery | Downloads](https://www.nuget.org/downloads) to download , and then replace this file in the installed directory. eg.  
X:\…\Epic Games\UE\_xxx\Engine\Plugins\Marketplace\MicrosoftOpenXR\Intermediate\Nuget\NuGetModule\

Then package the project, It works for me.

by the way. the same problem will be solved in UE 5.0 and UE 5.1
