I want to package a project in a way that can be used in other computers, i found there are two methods for it, Project Launch and Project Packaging. Still i couldn’t able to find the real difference between them. please tell me what is the major difference and what could be the best solution to have an .exe file that can be run in other computers without installing unreal.
I am basically doinga a VR Project, I am doing the deployment part of it. I have read lot of tutorials and discussion forums, i was able to to package or launch the sample (default vr) project (with or without substance plugin enabled). But when i do it for the real project which is a blueprint only project (with substance plugin enabled) i get the following errors under following scenarios.
1. Project Launch -
Variant - WindowsNoEditor |config - Development | Data Build -On the Fly
Project.Cook: Waiting a few seconds for the server to start…
Project.Cook: ********** COOK COMMAND COMPLETED **********
Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND STARTED **********
Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Stage Failed. Missing receipt 'Name_VirtualTour.target’. Check that this target has been built.
at Project.CreateDeploymentContext(ProjectParams Params, Boolean InDedicatedServer, Boolean DoCleanStage) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 1799
at Project.CopyBuildToStagingDirectory(ProjectParams Params) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 1867
at BuildCookRun.DoBuildCookRun(ProjectParams Params) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 239
at BuildCookRun.ExecuteBuild() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 43
at AutomationTool.BuildCommand.Execute() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 100
at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary
1 Commands) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 561
at AutomationTool.Automation.Process(String[] Arguments) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 531
at AutomationTool.Program.MainProc(Object Param) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Program.cs:line 135
at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 704
at AutomationTool.Program.Main() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Program.cs:line 59
Program.Main: AutomationTool exiting with ExitCode=103 (Error_MissingExecutable)
BUILD FAILED
2. Project Launch -
Variant -WindowsNoEditor | config - Shipping| data build- Do not Cook
Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND STARTED **********
Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Stage Failed. Missing receipt ‘Name_VirtualTour-Win64-Shipping.target’. Check that this target has been built.
at Project.CreateDeploymentContext(ProjectParams Params, Boolean InDedicatedServer, Boolean DoCleanStage) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 1799
at Project.CopyBuildToStagingDirectory(ProjectParams Params) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 1867
at BuildCookRun.DoBuildCookRun(ProjectParams Params) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 239
at BuildCookRun.ExecuteBuild() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 43
at AutomationTool.BuildCommand.Execute() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 100
at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary
1 Commands) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 561
at AutomationTool.Automation.Process(String[] Arguments) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 531
at AutomationTool.Program.MainProc(Object Param) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Program.cs:line 135
at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 704
at AutomationTool.Program.Main() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Program.cs:line 59
Program.Main: AutomationTool exiting with ExitCode=103 (Error_MissingExecutable)
BUILD FAILED
3. Project Launch -
Varaint - WindowsNoEditor | config - Shipping| Data build - By the Book
Project.Cook: Cook failed. Deleting cooked data.
Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. —> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for G:\Virtual_Reality_Name\Name_VirtualTour\Name_VirtualTour.uproject; see log C:\Users\kodex-PC01\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.15\Cook-2018.03.04-12.45.22.txt
at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 380
at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 80
at Project.Cook(ProjectParams Params) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 266
— End of inner exception stack trace —
at Project.Cook(ProjectParams Params) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 281
at BuildCookRun.DoBuildCookRun(ProjectParams Params) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 211
at BuildCookRun.ExecuteBuild() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 43
at AutomationTool.BuildCommand.Execute() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 100
at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary
1 Commands) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 561
at AutomationTool.Automation.Process(String[] Arguments) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 531
at AutomationTool.Program.MainProc(Object Param) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Program.cs:line 135
at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 704
at AutomationTool.Program.Main() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Program.cs:line 59
Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
BUILD FAILED
4. Project Packaging - Shipping
Got the same error as in above 3rd Method
I have performed following tasks to rectify the issue under different scenarios.
To mention when i run map check i get few warnings, and when in the process of cooking i get errors as Long file name (that is resolvable by me). I have performed a complete build successfully.
-
Create a new project and migrated the existing project’s content to it, but still the error is there
-
Deleted Saved, Intermediate and Config folder and restarted the computer and tried , no use i still get the same error.
-
Installed VS c++ 2015 components and Windows 8.1 SDK and i was able to get rid of some errors specific to it
-
Disabled the Substance Plugin and then i was able to create the .exe in staging folder in my old project.
Please help on this, i suspect i get this error due to some issues in engine files. I hope i will get an solution asap.
Thanks.