Hey,
I’m having trouble building my project for testing purposes. I have no experience with this whatsoever, so apart from the few things I found in other threads, I have no idea what I could try to fix this. So far I made sure of the following:
- Visual Studio 2013 is installed
- I start the build via “File > Package Project > Windows > Windows (64 bit)”
- I’m using the current version of UE4 (4.7.5), but I’ve been having the problem for several different versions now
- I tried migrating my content to a new project, but the build still fails
- Only regular characters are used in my windows name, project directory and target folder
- Default maps and game mode are set in the project settings
- All files have been saved before packaging
- Problem exists on two different machines
- Problem exists in two different projects, but does not exist in a default Third Person Blueprint project
I would be grateful for any advice on how to fix this!
MainFrameActions: Packaging (Windows (64-bit)): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: Exception in mscorlib: Buffer cannot be null.
MainFrameActions: Packaging (Windows (64-bit)): Parameter name: buffer
MainFrameActions: Packaging (Windows (64-bit)): Stacktrace: at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
MainFrameActions: Packaging (Windows (64-bit)): at GroupIconResource.FromByteArray(Byte[] GroupData, ModuleResourceLibary Module)
MainFrameActions: Packaging (Windows (64-bit)): at GroupIconResource.FromExe(String FileName)
MainFrameActions: Packaging (Windows (64-bit)): at BaseWinPlatform.StageBootstrapExecutable(DeploymentContext SC, String TargetFile, String StagedRelativeTargetPath, String StagedArguments)
MainFrameActions: Packaging (Windows (64-bit)): at BaseWinPlatform.GetFilesToDeployOrStage(ProjectParams Params, DeploymentContext SC)
MainFrameActions: Packaging (Windows (64-bit)): at Win64Platform.GetFilesToDeployOrStage(ProjectParams Params, DeploymentContext SC)
MainFrameActions: Packaging (Windows (64-bit)): at Project.CreateStagingManifest(ProjectParams Params, DeploymentContext SC)
MainFrameActions: Packaging (Windows (64-bit)): at Project.CopyBuildToStagingDirectory(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)): at BuildCommand.Execute()
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Program.Main()
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: Buffer cannot be null.
MainFrameActions: Packaging (Windows (64-bit)): Parameter name: buffer
MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=1
MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files...
MainFrameActions: Packaging (Windows (64-bit)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED
If you need more information from the log or any other details, please let me know.