Build crashes and requires windows 8.1 SDK for an ongoing project

Hi guys,
i’ve recently gotten and error during the build process for windows. I’ve worked on a project for a few months now and sent over a lot of builds to the client, but the recent one failed. Not sure what happened, but i am able to create a successfull build from other projects. Everything works except this one. This is a c/p of the log. Can anyone please help me out with this?

UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…
UATHelper: Packaging (Windows (64-bit)): Parsing command line: -ScriptsForProject=“//server/Workrooms/Whale_Shark/Hallstat VR project/Unreal/Project/Hallstat_Feb_12_2018_VR/Test_import.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=“//server/Workrooms/Whale_Shark/Hallstat VR project/Unreal/Project/Hallstat_Feb_12_2018_VR/Test
import.uproject” -cook -stage -archive -archivedirectory=D:/temp -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output
UATHelper: Packaging (Windows (64-bit)): Setting up ProjectParams for \server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Test_import.uproject
UATHelper: Packaging (Windows (64-bit)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe Test_import Win64 Development -Project=“\server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Test_import.uproject” "\server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat

Feb_12_2018_VR\Test_import.uproject” -NoUBTMakefiles -remoteini=“\server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR” -skipdeploy -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Windows (64-bit)): While compiling \server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Intermediate\Build\BuildRules\Test_importModuleRules.dll:
UATHelper: Packaging (Windows (64-bit)): WARNING: \server_workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Source\VaOceanPlugin\VaOceanPlugin.Build.cs(7,16) : warning CS0618: ‘UnrealBuildTool.ModuleRules.ModuleRules()’ is obsolete: ‘Please change your module constructor to take a ReadOnlyTargetRules parameter, and pass it
to the base class constructor (eg. “MyModuleRules(ReadOnlyTargetRules Target) : base(Target)”).’
UATHelper: Packaging (Windows (64-bit)): WARNING: \server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Source\VaOceanPlugin\VaOceanPlugin.Build.cs: warning: Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Ple
ase update the method signature.
UATHelper: Packaging (Windows (64-bit)): Took 1.7447238s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe Test_import Win64 Development -Project=“\server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Test_import.uproject” “\server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_
Feb_12_2018_VR\Test_import.uproject” -NoUBTMakefiles -remoteini=“\server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR” -skipdeploy -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (64-bit)): WARNING: \server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Source\VaOceanPlugin\VaOceanPlugin.Build.cs: warning: Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Ple
ase update the method signature.
UATHelper: Packaging (Windows (64-bit)): ERROR: Windows SDK v8.1 must be installed in order to build this target.
UATHelper: Packaging (Windows (64-bit)): Took 4.5965154s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (64-bit)): ERROR: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe Test_import Win64 Development -Project=“\server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Test_import.uproject” “\server_Workrooms\Whale_Shark\Hallstat VR project
\Unreal\Project\Hallstat_Feb_12_2018_VR\Test_import.uproject” -NoUBTMakefiles -remoteini=“\server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR” -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2018.03.23-22.22.10.txt’
UATHelper: Packaging (Windows (64-bit)): (see C:\Users\The Forge\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.18\UAT_Log.txt for full exception trace)
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error

I installed windows SDK, and when i run sdk i says that the features installed on this PC are up to date. Is some new asset i’ve added causing this?
Any help is greatly appreciated!

I got a similar error last week… I had to install windows SDK 8.1 and 10 and visual studio as well… It happened when i activated the plugin (Online Subsystem Steam) now everything work fine when I package my project.
Look at this link:

BTW, just before the error;

----(UATHelper: Packaging (Windows (64-bit)): ERROR: Windows SDK v8.1 must be installed in order to build this target.)----,
you have;

----(UATHelper: Packaging (Windows (64-bit)): WARNING: \server_Workrooms\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Source\VaOceanPlugin\VaOceanPlugin.Build.cs: warning: Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Ple
ase update the method signature.)----

You have a warning about VaOceanPlugin maybe your problem come from this plugin…

Thanks for the reply! :slight_smile: I will try installing both 8.1 and 10, although i could only find 10 before. Also, the VaOceanPlugin is a new thing i was trying, so it may be. Do i only need to delete all the VaOceanPlugin content or do i need to uninstall it from the engine somehow?

It’s giving me this now :slight_smile:

UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…
UATHelper: Packaging (Windows (64-bit)): Parsing command line: -ScriptsForProject=“Z:/Whale_Shark/Hallstat VR project/Unreal/Project/Hallstat_Feb_12_2018_VR/Test_import.uproject” BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=“Z:/Whale_Shark/Hallstat VR project/Unreal/Project/Hallstat_Feb_12_2018_VR/Test_import.uproject” -cook -stage -arc
hive -archivedirectory=“C:/Users/The Forge/Desktop/Temp” -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output
UATHelper: Packaging (Windows (64-bit)): Setting up ProjectParams for Z:\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Test_import.uproject
UATHelper: Packaging (Windows (64-bit)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe Test_import Win64 Development -Project=“Z:\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Test_import.uproject” “Z:\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Test_import.uprojec
t” -NoUBTMakefiles -remoteini=“Z:\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR” -skipdeploy -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Windows (64-bit)): While compiling Z:\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Intermediate\Build\BuildRules\Test_importModuleRules.dll:
UATHelper: Packaging (Windows (64-bit)): WARNING: z:\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Source\VaOceanPlugin\VaOceanPlugin.Build.cs(7,16) : warning CS0618: ‘UnrealBuildTool.ModuleRules.ModuleRules()’ is obsolete: ‘Please change your module constructor to take a ReadOnlyTargetRules parameter, and pass it to the base class
constructor (eg. “MyModuleRules(ReadOnlyTargetRules Target) : base(Target)”).’
UATHelper: Packaging (Windows (64-bit)): ERROR: System.IO.FileLoadException: Could not load file or assembly ‘file:///Z:\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Intermediate\Build\BuildRules\Test_importModuleRules.dll’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
UATHelper: Packaging (Windows (64-bit)): File name: ‘file:///Z:\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Intermediate\Build\BuildRules\Test_importModuleRules.dll’ —> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in pre
vious versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element | Microsoft Learn for more information.
UATHelper: Packaging (Windows (64-bit)): at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
UATHelper: Packaging (Windows (64-bit)): at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
UATHelper: Packaging (Windows (64-bit)): at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity)
UATHelper: Packaging (Windows (64-bit)): at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.DynamicCompilation.CompileAssembly(FileReference OutputAssemblyPath, List1 SourceFileNames, List1 ReferencedAssembies, List1 PreprocessorDefines, Boolean TreatWarningsAsErrors) UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.DynamicCompilation.CompileAndLoadAssembly(FileReference OutputAssemblyPath, List1 SourceFileNames, List1 ReferencedAssembies, List1 PreprocessorDefines, Boolean DoNotCompile, Boolean TreatWarningsAsErrors)
UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.RulesAssembly…ctor(IReadOnlyList1 Plugins, List1 ModuleFiles, List1 TargetFiles, Dictionary2 ModuleFileToPluginInfo, FileReference AssemblyFileName, RulesAssembly Parent)
UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.RulesCompiler.CreateProjectRulesAssembly(FileReference ProjectFileName)
UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.UEBuildTarget.CreateTarget(TargetDescriptor Desc, String] Arguments, Boolean bCompilingSingleFile)
UATHelper: Packaging (Windows (64-bit)): at UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String] Arguments, FileReference ProjectFile)
UATHelper: Packaging (Windows (64-bit)): Took 0.8260473s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (64-bit)): ERROR: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe Test_import Win64 Development -Project=“Z:\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR\Test_import.uproject” "Z:\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_20
18_VR\Test_import.uproject" -NoUBTMakefiles -remoteini=“Z:\Whale_Shark\Hallstat VR project\Unreal\Project\Hallstat_Feb_12_2018_VR” -skipdeploy -noxge -generatemanifest -NoHotReload. See logfile for details: ‘UnrealBuildTool-2018.03.26-11.47.18.txt’
UATHelper: Packaging (Windows (64-bit)): (see C:\Users\The Forge\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.18\UAT_Log.txt for full exception trace)
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error

I cant help you on this one… I never see this error before… I think that you have disabled you plugin VaOceanPlugin? did you remove what is using this plugin from your map? Try deleting your old packaged folder from your project.

Yes, though there were some assets left referencing it i think. I have been getting the same error since :confused:

Hey i just got a BUILD SUCCESSFUL :slight_smile: Thanks for the help. There were a few issues i will try to write down, i’m a beginner so its all a bit fuzzy. The issue i was having seems to have been caused by a couple of factors. I was getting the SDK error, i installed both 8.1 and 10. Didn’t fix it since i was still missing the C++ package withing SDK. Make sure you tick that during the installation, or open SDK, create a new project and choose Visual C++ and it will say that the library is missing and click ok to install it. After that i noticed that VA_ocean plugin seems to still be causing issues, i also suspected the source plugin. After deleting both VA_ocean and Source, i was still unable to get a build, with various errors appearing, but not pointing to a specific source of the problem. So i reinstalled source, and zip upped the project to a local drive, extracted it, ran it and voila the build was succesful :confused: A bit dissapointed since it all seems to be leading to a bug with some kind of incompatibility between the two PC’s i was doing the project on. So if anyone gets simmilar issues, my advice would be to remove suspicious plugins and content, erase intermediate folder, generate files, open the project, zip it up and extract and run it locally. Hope this helps someone, i lost quite a few hours running arround in circle. Thanks @brahoule for your help, i am very gratefull and this is a great forum! :slight_smile:

Glad that you find the problem! Good luck with your project.