An error occurred while trying to generate project files.
Running E:/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“C:/Users/royce/Documents/Unreal Projects/MyProject/MyProject.uproject” -game -rocket -progress
Discovering modules, targets and source code for project…
Messages while compiling E:\Epic Games\4.12\Engine\Intermediate\Build\BuildRules\UE4Rules.dll:
e:\Epic Games\4.12\Engine\Source\Programs\CrossCompilerTool\CrossCompilerTool.Build.cs(29,3) : warning CS0618: ‘UnrealBuildTool.ModuleRules.AddThirdPartyPrivateStaticDependencies(UnrealBuildTool.TargetInfo, params string[])’ is obsolete: ‘Use AddEngineThirdPartyPrivateStaticDependencies to add dependencies on ThirdParty modules within the Engine Directory’
e:\Epic Games\4.12\Engine\Source\Programs\SlateViewer\SlateViewer.Build.cs(28,4) : warning CS0618: ‘UnrealBuildTool.ModuleRules.AddThirdPartyPrivateStaticDependencies(UnrealBuildTool.TargetInfo, params string[])’ is obsolete: ‘Use AddEngineThirdPartyPrivateStaticDependencies to add dependencies on ThirdParty modules within the Engine Directory’
e:\Epic Games\4.12\Engine\Source\Programs\UnrealCEFSubProcess\UnrealCEFSubProcess.Build.cs(29,3) : warning CS0618: ‘UnrealBuildTool.ModuleRules.AddThirdPartyPrivateStaticDependencies(UnrealBuildTool.TargetInfo, params string[])’ is obsolete: ‘Use AddEngineThirdPartyPrivateStaticDependencies to add dependencies on ThirdParty modules within the Engine Directory’
e:\Epic Games\4.12\Engine\Source\Programs\UnrealCodeAnalyzer\UnrealCodeAnalyzer.Build.cs(11,3) : warning CS0618: ‘UnrealBuildTool.ModuleRules.AddThirdPartyPrivateStaticDependencies(UnrealBuildTool.TargetInfo, params string[])’ is obsolete: ‘Use AddEngineThirdPartyPrivateStaticDependencies to add dependencies on ThirdParty modules within the Engine Directory’
e:\Epic Games\4.12\Engine\Source\Programs\UnrealLightmass\UnrealLightmass.Build.cs(15,4) : warning CS0618: ‘UnrealBuildTool.ModuleRules.AddThirdPartyPrivateStaticDependencies(UnrealBuildTool.TargetInfo, params string[])’ is obsolete: ‘Use AddEngineThirdPartyPrivateStaticDependencies to add dependencies on ThirdParty modules within the Engine Directory’
e:\Epic Games\4.12\Engine\Source\Programs\Windows\BootstrapPackagedGame\BootstrapPackagedGame.Target.cs(16,4) : error CS0103: The name ‘PreferredSubPlatform’ does not exist in the current context
UnrealBuildTool Exception: ERROR: UnrealBuildTool encountered an error while compiling source files