Hello,
I am having troubles upgrading my project to 4.14 from 4.13.
I am getting this error:
Running F:/4.14/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -progress
Messages while compiling F:\4.14\Spartan\Intermediate\Build\BuildRules\SpartanModuleRules.dll:
f:\4.14\Spartan\Source\Spartan.Target.cs(72,26) : error CS0246: The type or namespace name ‘GUBPFormalBuild’ could not be found (are you missing a using directive or an assembly reference?)
UnrealBuildTool Exception: ERROR: UnrealBuildTool encountered an error while compiling source files
If i go to my Target.cs and delete this:
public override List<UnrealTargetPlatform> GUBP_GetPlatforms_MonolithicOnly(UnrealTargetPlatform HostPlatform)
{
List<UnrealTargetPlatform> Platforms = null;
switch (HostPlatform)
{
case UnrealTargetPlatform.Mac:
Platforms = new List<UnrealTargetPlatform> { HostPlatform };
break;
case UnrealTargetPlatform.Win64:
Platforms = new List<UnrealTargetPlatform> { HostPlatform, UnrealTargetPlatform.Win32, UnrealTargetPlatform.XboxOne, UnrealTargetPlatform.PS4 };
break;
default:
Platforms = new List<UnrealTargetPlatform>();
break;
}
return Platforms;
}
public override List<UnrealTargetConfiguration> GUBP_GetConfigs_MonolithicOnly(UnrealTargetPlatform HostPlatform, UnrealTargetPlatform Platform)
{
return new List<UnrealTargetConfiguration> { UnrealTargetConfiguration.Development };
}
public override List<GUBPFormalBuild> GUBP_GetConfigsForFormalBuilds_MonolithicOnly(UnrealTargetPlatform HostPlatform)
{
if (HostPlatform == UnrealTargetPlatform.Win64)
{
return new List<GUBPFormalBuild>
{
new GUBPFormalBuild(UnrealTargetPlatform.Linux, UnrealTargetConfiguration.Development),
new GUBPFormalBuild(UnrealTargetPlatform.Win64, UnrealTargetConfiguration.Development),
new GUBPFormalBuild(UnrealTargetPlatform.XboxOne, UnrealTargetConfiguration.Development),
new GUBPFormalBuild(UnrealTargetPlatform.PS4, UnrealTargetConfiguration.Development),
};
}
else
{
return new List<GUBPFormalBuild>
{
new GUBPFormalBuild(UnrealTargetPlatform.Mac, UnrealTargetConfiguration.Development),
};
}
}
}
it goes through but then i have (i assume because of this ) warnings all over my log.(You're exporting a UBlueprint ('XXXX') editor object with your cook. - Community & Industry Discussion - Unreal Engine Forums).
I have asked for help here a few days ago but the answer i got could not solve it. I get the warnings even for almost empty BP’s so i know it has nothing to do with DEPRECATED stuff.
I am starting to speculate that the fact that you moved to the new Build Graph, is causing all this mayhem.
I have read the answer here:Can't open project after update to 4.14 - Programming & Scripting - Unreal Engine Forums but it is nothing more than a generic exhortation to download the new and fixed version of the demo.
I obviously cannot do that since it is my game, that i have in development since 4.1.
Are there any specific instructions on what i have to do, in order to bring my project up to speed with the new method? I have no clue what that new method is, and where to point/modify my Target.cs in order to cure this.
Thank you.