Can't package with plugin VictoryBPFunctionLibrary.cpp(17): fatal error C1083: Cannot open include file: 'HeadMountedDisplay.h': No such file or directory

I am trying to package, and I have the Victory Plugin but I get the error below. I have looked up this issue but no one else seems to have it. I just installed the plugin like normal, it works and stuff, but has this issue when packaging.

UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Module.VictoryBPLibrary.cpp

UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: D:\Documents\Unreal
Projects\BasicFPS\Plugins\VictoryPlugin\Source\VictoryBPLibrary\Private\VictoryBPFunctionLibrary.cpp(17): fatal error C1083: Cannot open include file: ‘HeadMountedDisplay.h’: No such file or directory

UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: D:\Documents\Unreal Projects\BasicFPS\Binaries\Win64\BasicFPS.pdb

UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Total build time: 38.93 seconds

UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 39.0573694s to run UnrealBuildTool.exe, ExitCode=5

UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): D:\Program Files (x86)\Epic Games\4.14\Engine\Binaries\DotNET\UnrealBuildTool.exe BasicFPS Win64 Development -Project=“D:\Documents\Unreal Projects\BasicFPS\BasicFPS.uproject”
“D:\Documents\Unreal Projects\BasicFPS\BasicFPS.uproject” -remoteini=“D:\Documents\Unreal Projects\BasicFPS” -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2017.01.13-19.30.24.txt’

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars)

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable1 InChangelistNumberOverride, Dictio nary2 InTargetToManifest)

UATHelper: Packaging (Windows (64-bit)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)

UATHelper: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params)

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.BuildCommand.Execute()

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Process(String[] Arguments)

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.MainProc(Object Param)

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)

UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.Main()

UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)

UATHelper: Packaging (Windows (64-bit)): BUILD FAILED

Hello Zeploc,

Can you try disabling the Victory Plugin temporarily to see if the error goes away? This should be able let us determine if it is indeed what is causing this issue. It also seems like it’s failing due to something related to VR. Are you attempting to use VR? If not, there may be a setting in the Victory plugin that may need to be disabled? I’m not familiar with using it so I’m not exactly sure.

I am very sure it’s the victory plugin, before i installed it, it was packaging properly, and i would disable it but lots of my code/blueprints is using it. The reason I know it is the plugin is because I’ve been watching how it packages, and when i tried packaging with this plugin, it stopped at that first line, basically it stopped and took a long time when trying to initialize the victory plugin (which only happens if there’s a problem with it, otherwise it would fly through and continue)
As far as VR goes I have not at all attempted to use VR, so if VR is the problem, then it must be being used, or something is trying to access it which I didn’t make.

Oh is that what the head mounted display is? right the headset makes sense now. But yeah im pretty much just using this plugin from this tutorial:

I apologize for the delay, this question just sort of fell of my radar. Are you still experiencing this issue? If so, I would suggest speaking with the creator of the Victory Plugin for further assistance if it is what is causing the problem.

Alright I’ll give that a go, thank you