x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UWP - AutomationTool exiting with ExitCode=1 (Error_Unknown)

Hi, I'm trying to deploy my game on Microsoft Store, so I've found that I have to donwload another version of Unreal Engine that supports exporting to UWP from GitHub. Well, I've downloaded it, installed as described and I've tried to package new FPS game from teplate. The problem is that it won't package.

This is the output:

 UATHelper: Packaging (UWP (x64-64bit)): Running AutomationTool...
 UATHelper: Packaging (UWP (x64-64bit)): Parsing command line: -ScriptsForProject="D:/Documents/Unreal Projects/UWP/UWP.uproject" BuildCookRun -nocompileeditor -nop4 -project="D:/Documents/Unreal Projects/UWP/UWP.uproject" -cook -stage -archive -archivedirectory="D:/Documents/Unreal Projects/UWP/pkgNew folder" -package -clientconfig=Development -ue4exe=UE4Edi
 tor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=UWP64 -build -utf8output -compile
 UATHelper: Packaging (UWP (x64-64bit)): Compiling scripts.
 UATHelper: Packaging (UWP (x64-64bit)):     DotNETUtilities -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\DotNETUtilities.dll
 UATHelper: Packaging (UWP (x64-64bit)):     UnrealBuildTool -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\UnrealBuildTool.exe
 UATHelper: Packaging (UWP (x64-64bit)):     AutomationUtils.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationUtils.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     AllDesktop.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\AllDesktop\AllDesktop.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     Localization.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\Localization.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     OneSkyLocalization.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\OneSkyLocalization.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     AutomationScripts.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     Android.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     BuildGraph.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\BuildGraph.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     HTML5.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\HTML5\HTML5.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     MobileDeviceInterface -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\IOS\MobileDeviceInterface.dll
 UATHelper: Packaging (UWP (x64-64bit)):     IOS.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     Linux.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     Mac.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     TVOS.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\TVOS\TVOS.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):   D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(2052,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "WindowsDevicePortalWrapper". Check to make sure the assembly exists on disk. If this reference is required b
 y your code, you may get compilation errors. [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(215,63): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(215,120): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(215,190): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(246,65): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(246,122): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(246,192): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(194,50): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(187,13): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(925,50): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(925,107): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(937,50): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):   UWPPlatform.Automation.cs(937,107): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):     Win.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\Win.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):     XLocLocalization.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\XLocLocalization.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)): Took 3.5013288s to run MSBuild.exe, ExitCode=1
 UATHelper: Packaging (UWP (x64-64bit)): ERROR: Failed to build "D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\Scripts\UAT.proj":
 UATHelper: Packaging (UWP (x64-64bit)):          DotNETUtilities -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\DotNETUtilities.dll
 UATHelper: Packaging (UWP (x64-64bit)):          UnrealBuildTool -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\UnrealBuildTool.exe
 UATHelper: Packaging (UWP (x64-64bit)):          AutomationUtils.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationUtils.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          AllDesktop.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\AllDesktop\AllDesktop.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          Localization.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\Localization.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          OneSkyLocalization.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\OneSkyLocalization.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          AutomationScripts.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          Android.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          BuildGraph.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\BuildGraph.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          HTML5.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\HTML5\HTML5.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          MobileDeviceInterface -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\IOS\MobileDeviceInterface.dll
 UATHelper: Packaging (UWP (x64-64bit)):          IOS.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          Linux.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          Mac.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          TVOS.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\TVOS\TVOS.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):        D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(2052,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "WindowsDevicePortalWrapper". Check to make sure the assembly exists on disk. If this reference is requi
 red by your code, you may get compilation errors. [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(215,63): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(215,120): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(215,190): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(246,65): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(246,122): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(246,192): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(194,50): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(187,13): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(925,50): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(925,107): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(937,50): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):        UWPPlatform.Automation.cs(937,107): error CS0234: The type or namespace name 'Tools' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\UWP\UWP.Automation.csproj]
 UATHelper: Packaging (UWP (x64-64bit)):          Win.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\Win.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):          XLocLocalization.Automation -> D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Binaries\DotNET\AutomationScripts\XLocLocalization.Automation.dll
 UATHelper: Packaging (UWP (x64-64bit)):        
 UATHelper: Packaging (UWP (x64-64bit)):        (see D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)
 UATHelper: Packaging (UWP (x64-64bit)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
 UATHelper: Packaging (UWP (x64-64bit)): BUILD FAILED
 PackagingResults: Error: Failed to build "D:\UnrealEngineUWP\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\Scripts\UAT.proj":
 PackagingResults: Error: Unknown Error

I've tried to re-build the entire Unreal Engine but with no luck.

Thanks in advance for any suggestions.

Product Version: UE Github Master branch
Tags:
more ▼

asked Apr 09 '18 at 01:38 PM in Packaging & Deployment

avatar image

koudy008
14 4 4 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Open Project in visual studio, select UWP.Automation from the right, then Project > Manage NugetPackages and install WindowsDevicePortalWrapper

more ▼

answered May 28 '18 at 04:20 PM

avatar image

som3on3
31 2 1

avatar image Night Watcher Jun 27 '18 at 02:42 PM

That fixed it for me, thank you so much!! I added a screenshot on how to do that

alt text

screenshot-64.png (240.6 kB)
avatar image Soljenitin May 07 '19 at 06:57 PM

I have the same problem.

PackagingResults: Error: Failed to build "C:\Program Files\Epic Games\UE_4.22_source\Engine\Source\Programs\AutomationTool\Scripts\UAT.proj": PackagingResults: Error: Unknown Error

However, after opening the project in Visual Studio, I noticed that I am missing UWP.Automation from under the Programs folder in the Solution Explorer.

It should be just under TVOS.Automation, however, in my case, it is not.

Running from UE 4.22 built from source.

If I switch engine version to the 4.22.1 installed from Epic Launcher, the packaging succeeds, however, not from 4.22 (production) built from source, which I need it to, in order to connect to the same version of the game's server built from the same engine branch.

Any suggestions, please?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi, I have the same problem here. Can you solve this problem?

more ▼

answered Apr 20 '18 at 10:43 AM

avatar image

PetersonOliveira
21 2 4 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question