Marketplace build failing

Our plugin (Windows Platform) is compiling successfully on our end (4.20.2) installed from Epic games Launcher but this plugin is failing to build at Epics end. We have attached a report from the marketplace team. Anybody have any idea why this is failing to build at Epics end?

Here is a video created by us compiling in 4.20.2:

Report from marketplace team:

It appears that we are still receiving Windows errors for the 4.20.2 build:


Building plugin for host platforms: Win64
[00:37:22.040]     Running: D:\RocketSync\4.20.2-4302132+++UE4+Release-4.20\Working\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Editor Win64 Development -plugin=D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\DevStickyNote.uplugin -iwyu -precompile -nosharedpch -noubtmakefiles -receipt=D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Binaries\Win64\UE4Editor.target -NoHotReload -log="D:\Build\++Portal+Dev-Marketplace+Full\Sync\Engine\Programs\AutomationTool\Saved\Logs\GenerateAssetPacks\UBT-UE4Editor-Win64-Development.txt"
[00:37:23.570]       Using Visual Studio 2017 14.13.26128 toolchain (D:\Build\AutoSDK\HostWin64\Win64\VS2017\14.13.26128) and Windows 10.0.16299.0 SDK (D:\Build\AutoSDK\HostWin64\Win64\Windows Kits\10).
[00:37:27.968]       Parsing headers for UE4Editor
[00:37:27.998]         Running UnrealHeaderTool UE4Editor "D:\RocketSync\4.20.2-4302132+++UE4+Release-4.20\Working\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
[00:37:42.427]       Reflection code generated for UE4Editor in 14.4286556 seconds
[00:37:44.051]       Building 9 actions with 40 processes...
[00:37:44.163]         [1/9] PCLaunch.rc
[00:37:44.163]         [2/9] PCLaunch.rc
[00:37:49.151]         [3/9] Module.DevStickyNote.cpp
[00:37:49.151]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(59): error C2027: use of undefined type 'UTextProperty'
[00:37:49.151]         D:\RocketSync\4.20.2-4302132+++UE4+Release-4.20\Working\Engine\Source\Runtime\CoreUObject\Public\Templates/Casts.h(348): note: see declaration of 'UTextProperty'
[00:37:49.151]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(59): error C2065: 'TCppType': undeclared identifier
[00:37:49.151]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(59): error C2146: syntax error: missing ';' before identifier 'Z_Param_Out_OutTitleTemp'
[00:37:49.151]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(59): error C2065: 'Z_Param_Out_OutTitleTemp': undeclared identifier
[00:37:49.151]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(59): error C3861: 'GetDefaultPropertyValue': identifier not found
[00:37:49.151]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(59): error C2065: 'Z_Param_Out_OutTitle': undeclared identifier
[00:37:49.151]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(59): error C2146: syntax error: missing ';' before identifier 'Z_Param_Out_OutMessageTemp'
[00:37:49.152]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(59): error C2065: 'Z_Param_Out_OutMessageTemp': undeclared identifier
[00:37:49.152]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(59): error C2065: 'Z_Param_Out_OutMessage': undeclared identifier
[00:37:49.152]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(261): error C2653: 'FApp': is not a class or namespace name
[00:37:49.152]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(261): error C3861: 'GetProjectName': identifier not found
[00:37:49.152]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(261): error C2065: 'GEditor': undeclared identifier
[00:37:49.152]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(261): error C2227: left of '->GetEditorWorldContext' must point to class/struct/union/generic type
[00:37:49.152]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(261): note: type is 'unknown-type'
[00:37:49.152]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(261): error C2228: left of '.World' must have class/struct/union
[00:37:49.152]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Classes\DeveloperNoteActor.h(261): error C2227: left of '->GetMapName' must point to class/struct/union/generic type
[00:37:49.152]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote\Private\DeveloperNoteActor.cpp(7): fatal error C1083: Cannot open include file: 'JsonObject.h': No such file or directory
[00:37:49.235]         [4/9] Module.DevStickyNote.gen.cpp
[00:37:49.235]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote/Classes/DeveloperNoteActor.h(261): error C2653: 'FApp': is not a class or namespace name
[00:37:49.235]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote/Classes/DeveloperNoteActor.h(261): error C3861: 'GetProjectName': identifier not found
[00:37:49.235]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote/Classes/DeveloperNoteActor.h(261): error C2065: 'GEditor': undeclared identifier
[00:37:49.236]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote/Classes/DeveloperNoteActor.h(261): error C2227: left of '->GetEditorWorldContext' must point to class/struct/union/generic type
[00:37:49.236]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote/Classes/DeveloperNoteActor.h(261): note: type is 'unknown-type'
[00:37:49.236]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote/Classes/DeveloperNoteActor.h(261): error C2228: left of '.World' must have class/struct/union
[00:37:49.236]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNote/Classes/DeveloperNoteActor.h(261): error C2227: left of '->GetMapName' must point to class/struct/union/generic type
[00:37:52.914]         [5/9] Module.DevStickyNoteEditor.cpp
[00:37:52.914]         D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Source\DevStickyNoteEditor\Private\DevNoteEdModeToolkit.cpp(9): fatal error C1083: Cannot open include file: 'FileManager.h': No such file or directory
[00:37:52.918]       ERROR: UBT ERROR: Failed to produce item: D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DevStickyNote\Intermediate\Build\Win64\UE4Editor\Development\DevStickyNote\UE4Editor-DevStickyNote.lib
[00:37:52.919]              (see D:\Build\++Portal+Dev-Marketplace+Full\Sync\Engine\Programs\AutomationTool\Saved\Logs\GenerateAssetPacks\UBT-UE4Editor-Win64-Development.txt for full exception trace)
[00:37:52.930]       Total build time: 30.63 seconds (Parallel executor: 0.00 seconds)
[00:37:52.957]     Took 30.9190916s to run UnrealBuildTool.exe, ExitCode=5
[00:37:52.961]     ERROR: UnrealBuildTool failed. See log for more details. (\\epicgames.net\root\Builds\EC_Workspace\Portal Dev-Marketplace - UID 366069 - Stage to Marketplace - DevStickyNote\UAT Logs\Generate User Content Windows\GenerateAssetPacks\UBT-UE4Editor-Win64-Development.txt)
[00:37:52.961]            (see \\epicgames.net\root\Builds\EC_Workspace\Portal Dev-Marketplace - UID 366069 - Stage to Marketplace - DevStickyNote\UAT Logs\Generate User Content Windows\GenerateAssetPacks\Log_2.txt for full exception trace)
[00:37:52.969]     AutomationTool exiting with ExitCode=5 (5)
[00:37:52.993]     BUILD FAILED
[00:37:52.994]   Took 46.674667s to run RunUAT.bat, ExitCode=5
[00:37:52.995]   ERROR: Build failed for plugin DevStickyNote
___________________________________________________________________________

Resolved. Just had to include some headers.

How were you able to do this? I am facing the same issue, but I don’t know how to “Include some headers”.

In my case it is a plugin from github.

You have to go to Plugins and in your plugin you have the option to Package. Click that and it will show the actual errors. In our case, it was just some missing headers (I actually forgot what headers were included to fix this). If you are receiving the same errors let me know. I’ll dig in and find out what headers I included.

291995-packageexample.png