# UE 4.27.2 Packaging to Hololens Error

**URL:** <https://forums.unrealengine.com/t/ue-4-27-2-packaging-to-hololens-error/619690>\
**Category:** XR Development\
**Tags:** Packaging-Failed, HoloLens-2, unreal-engine, UE4-27, question\
**Created:** [August 2, 2022, 10:14am UTC](https://forums.unrealengine.com/t/ue-4-27-2-packaging-to-hololens-error/619690 "2022-08-02T10:14:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![JNich0lz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JNich0lz](https://forums.unrealengine.com/u/JNich0lz)\
**Post date:** [August 2, 2022, 10:14am UTC](https://forums.unrealengine.com/t/ue-4-27-2-packaging-to-hololens-error/619690/1 "2022-08-02T10:14:46Z")

</div>

I am having issues in packaging my Hololens-2 project. I am able to package for Windows 64-bit, but cannot package for Hololens. Another user encountering the same issue resolved it by packaging on another PC but this is not an option for me. I have updated my PC and got the latest version of Visual Studio (22 at this time). I followed the instructions online for the Chess Demo, including which plugins to include so I don’t understand where my issue is coming from. The following is from the output log where the error seems to start occuring:

UATHelper: Packaging (HoloLens): Prepping ChessDemo for deployment to HoloLens  
UATHelper: Packaging (HoloLens): WARNING:  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): file:///C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/winrt/UapManifestSchema\_v10.xsd(29): Reference to undeclared attribute group ‘[Error](http://schemas.microsoft.com/appx/manifest/preview/windows10/msixappcompatsupport:PreviewEntryPointAttributesGroup)’.  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): XML schema failed to compile; validation of the final AppxManifest.xml will be skipped.  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): If your AppxManifest.xml is valid then this is harmless, but if it contains invalid content you may encounter packaging or deployment errors.  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): Updating your Windows SDK and/or Visual Studio installation may correct the schema problems and simplify diagnosis of invalid content.  
UATHelper: Packaging (HoloLens): W Microsoft (R) MakePRI Tool  
UATHelper: Packaging (HoloLens): Copyright (C) 2013 Microsoft. All rights reserved.  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): Usage:  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): ------  
UATHelper: Packaging (HoloLens): MakePri.exe new /pr /cf [options]  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): Example:  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): --------  
UATHelper: Packaging (HoloLens): MakePri.exe new /pr C:\MyApp\src\ /cf C:\MyApp\priconfig.xml /mn  
UATHelper: Packaging (HoloLens): C:\MyApp\AppXManifest.xml /of C:\MyApp\src\resources.pri /o  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): Description:  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): ------------  
UATHelper: Packaging (HoloLens): Creates a PRI file at [outputfile] by indexing all files in the  
UATHelper: Packaging (HoloLens): [projectroot]and its subdirectories as directed by the [configxml]. The  
UATHelper: Packaging (HoloLens): index will be assigned [indexname] to reference resources in the application  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): Required Parameters:  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): --------------------  
UATHelper: Packaging (HoloLens): /ProjectRoot(pr) : Root location of project files  
UATHelper: Packaging (HoloLens): /ConfigXml(cf) : Configuration file location. Use  
UATHelper: Packaging (HoloLens): ‘Makepri.exe createconfig’ command to generate one  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): Options:  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): --------  
UATHelper: Packaging (HoloLens): /OutputFile(of) : Output location of PRI file, default is  
UATHelper: Packaging (HoloLens): [current directory]\resources.pri  
UATHelper: Packaging (HoloLens): /Manifest(mn) : Location of the application or component’s  
UATHelper: Packaging (HoloLens): manifest. This parameter is ignored if [indexname]  
UATHelper: Packaging (HoloLens): is given. Default is [projectroot]\AppXManifest.xml  
UATHelper: Packaging (HoloLens): /IndexName(in) : Name for the generated index of resources.  
UATHelper: Packaging (HoloLens): Typically matches the AppX package name, class library  
UATHelper: Packaging (HoloLens): simple name, etc. May be supplied via the  
UATHelper: Packaging (HoloLens): [manifest] parameter.  
UATHelper: Packaging (HoloLens): If IndexName is not specified and an AppX manifest  
UATHelper: Packaging (HoloLens): file is not present, the default name ‘Application’  
UATHelper: Packaging (HoloLens): will be used.  
UATHelper: Packaging (HoloLens): /VersionMajor(vma): [Deprecated] Major version number for  
UATHelper: Packaging (HoloLens): index, default is 1  
UATHelper: Packaging (HoloLens): /IndexLog(il) : XML Log of indexed resources, no file  
UATHelper: Packaging (HoloLens): generated by default  
UATHelper: Packaging (HoloLens): /AutoMerge(am) : This flag is not recommended for normal use with AppX  
UATHelper: Packaging (HoloLens): packages. It causes Makepri.exe to set the auto  
UATHelper: Packaging (HoloLens): merge flag within the PRI file. Default is not set.  
UATHelper: Packaging (HoloLens): /ReverseMap(rm) : Generate a reverse mapping section in the PRI file  
UATHelper: Packaging (HoloLens): which can be used for debugging purposes.  
UATHelper: Packaging (HoloLens): /MappingFile(mf) : Generate a mapping file in the given  
UATHelper: Packaging (HoloLens): file format.  
UATHelper: Packaging (HoloLens): /SchemaFile(sf) : Output location of XML resource schema  
UATHelper: Packaging (HoloLens): description.  
UATHelper: Packaging (HoloLens): /IndexOptions(io) : Options to provide detailed control over  
UATHelper: Packaging (HoloLens): behavior of resource indexers.  
UATHelper: Packaging (HoloLens): /Overwrite(o) : Overwrite an existing output file of the same name  
UATHelper: Packaging (HoloLens): without prompting  
UATHelper: Packaging (HoloLens): /Verbose(v) : Causes verbose messages to be output to the console  
UATHelper: Packaging (HoloLens): /Help(h, ?) : Display the usage help text  
UATHelper: Packaging (HoloLens): /ExtensionDll(ex) : Location of the MRT environment extension  
UATHelper: Packaging (HoloLens): DLL. This DLL must be signed by a Microsoft-issued  
UATHelper: Packaging (HoloLens): certificate. Default is an empty path (no DLL  
UATHelper: Packaging (HoloLens): will be used).  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): FOLDERPATH - is a valid path to a folder  
UATHelper: Packaging (HoloLens): FILEPATH - is a path to a file, either relative to the current  
UATHelper: Packaging (HoloLens): directory or absolute  
UATHelper: Packaging (HoloLens): MAPPINGFILETYPE - Supported File type(s): ‘AppX’  
UATHelper: Packaging (HoloLens):  
UATHelper: Packaging (HoloLens): ERROR: ERROR: PRI191: 0x8007007e - Appx manifest not found or is invalid. Please ensure well-formed manifest file is present. Or specify an index name with /in switch.  
PackagingResults: Error: ERROR: PRI191: 0x8007007e - Appx manifest not found or is invalid. Please ensure well-formed manifest file is present. Or specify an index name with /in switch.  
UATHelper: Packaging (HoloLens): ERROR: Failed to generate Package Resource Index file. See log for details.  
PackagingResults: Error: Failed to generate Package Resource Index file. See log for details.  
UATHelper: Packaging (HoloLens): Took 110.0815683s to run UnrealBuildTool.exe, ExitCode=6  
UATHelper: Packaging (HoloLens): UnrealBuildTool failed. See log for more details. (C:\Users\Cobham\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_4.27+UE\_4.27\UBT-ChessDemo-HoloLens-Shipping\_2.txt)  
UATHelper: Packaging (HoloLens): AutomationTool exiting with ExitCode=6 (6)  
UATHelper: Packaging (HoloLens): BUILD FAILED  
PackagingResults: Error: Unknown Error

---

<div class="post-metadata">

**Author:** ![oorage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oorage](https://forums.unrealengine.com/u/oorage)\
**Post date:** [August 24, 2022, 7:18am UTC](https://forums.unrealengine.com/t/ue-4-27-2-packaging-to-hololens-error/619690/2 "2022-08-24T07:18:16Z")

</div>

Hi,  
Any news regarding this issue?

---

<div class="post-metadata">

**Author:** ![Bevman00](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bevman00](https://forums.unrealengine.com/u/Bevman00)\
**Post date:** [August 24, 2022, 11:08pm UTC](https://forums.unrealengine.com/t/ue-4-27-2-packaging-to-hololens-error/619690/3 "2022-08-24T23:08:44Z")

</div>

Have you tried moving the Binaries folder out of your project folder then rebuilding the project after double-clicking your project file?

---

<div class="post-metadata">

**Author:** ![Joost\_LAL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Joost\_LAL](https://forums.unrealengine.com/u/Joost_LAL)\
**Post date:** [August 25, 2022, 2:20am UTC](https://forums.unrealengine.com/t/ue-4-27-2-packaging-to-hololens-error/619690/4 "2022-08-25T02:20:02Z")

</div>

Hi there,  
I am also stuck on this problem. Removing the binaries folder and rebuilding it didn’t work for me.

---

<div class="post-metadata">

**Author:** ![YuriNK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yurink/32/1194511_2.png) [@YuriNK](https://forums.unrealengine.com/u/YuriNK)\
**Post date:** [August 26, 2022, 8:34pm UTC](https://forums.unrealengine.com/t/ue-4-27-2-packaging-to-hololens-error/619690/5 "2022-08-26T20:34:44Z")

</div>

> [@JNich0lz](#):
>
> UATHelper: Packaging (HoloLens): Updating your Windows SDK and/or Visual Studio installation may correct the schema problems and simplify diagnosis of invalid content.

May be, you need to install some additional SDK packages (via VS Installer)?

---

<div class="post-metadata">

**Author:** ![Online\_Learner\_nfCvD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Online\_Learner\_nfCvD](https://forums.unrealengine.com/u/Online_Learner_nfCvD)\
**Post date:** [August 30, 2022, 3:22pm UTC](https://forums.unrealengine.com/t/ue-4-27-2-packaging-to-hololens-error/619690/6 "2022-08-30T15:22:02Z")

</div>

Same question. I fixed this problem by modifying the windows SDK version.

1. Update windows 10
2. Install Windows10 SDK (10.0.19041.0)
3. Go to the path: _ **ProjectFolders/Configuration/Hololens** _
4. Modify the **HoloLensEngine.ini** file：Windows10SDKVersion=10.0.19041.0
5. Repackage

---

<div class="post-metadata">

**Author:** ![oorage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oorage](https://forums.unrealengine.com/u/oorage)\
**Post date:** [September 1, 2022, 3:12am UTC](https://forums.unrealengine.com/t/ue-4-27-2-packaging-to-hololens-error/619690/7 "2022-09-01T03:12:39Z")

</div>

yup, this might be works

---

<div class="post-metadata">

**Author:** ![TrueFranco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/truefranco/32/1095055_2.png) [@TrueFranco](https://forums.unrealengine.com/u/TrueFranco)\
**Post date:** [May 10, 2023, 11:30am UTC](https://forums.unrealengine.com/t/ue-4-27-2-packaging-to-hololens-error/619690/8 "2023-05-10T11:30:50Z")

</div>

Thank you Sir, this allow me to build the damm thing by source 😃
