Why I have error when I try to create package?

Hello,

I work sinds some days on my project, I create some package for Win64, no problems.
But sind yesterday, when I lanck a packaging for Win64, he return me an error log and he cant create the package.

I put here the end of the log file :

LogTexture:Display: Building textures: LQ_Lightmap_1_220 (DXT1)
LogTexture:Display: Building textures: SkyOcclusion1_221 (AutoDXT)
LogTexture:Display: Building textures: HQ_Lightmap1_221 (AutoDXT)
LogTexture:Display: Building textures: LQ_Lightmap_1_221 (DXT1)
LogTexture:Display: Building textures: SkyOcclusion1_222 (AutoDXT)
LogTexture:Display: Building textures: HQ_Lightmap1_222 (AutoDXT)
LogTexture:Display: Building textures: SkyOcclusion1_223 (AutoDXT)
LogTexture:Display: Building textures: LQ_Lightmap_1_222 (DXT1)
LogTexture:Display: Building textures: HQ_Lightmap1_223 (AutoDXT)
LogTexture:Display: Building textures: LQ_Lightmap_1_223 (DXT1)
LogTexture:Display: Building textures: SkyOcclusion1_224 (AutoDXT)
LogTexture:Display: Building textures: HQ_Lightmap1_224 (AutoDXT)
LogTexture:Display: Building textures: LQ_Lightmap_1_224 (DXT1)
LogTexture:Display: Building textures: SkyOcclusion1_225 (AutoDXT)
LogTexture:Display: Building textures: HQ_Lightmap1_225 (AutoDXT)
LogTexture:Display: Building textures: LQ_Lightmap_1_225 (DXT1)
LogTexture:Display: Building textures: SkyOcclusion0_226 (AutoDXT)
LogTexture:Display: Building textures: HQ_Lightmap0_226 (AutoDXT)
LogTexture:Display: Building textures: LQ_Lightmap_0_226 (DXT1)
LogTexture:Display: Building textures: SkyOcclusion0_227 (AutoDXT)
LogTexture:Display: Building textures: HQ_Lightmap0_227 (AutoDXT)
LogTexture:Display: Building textures: LQ_Lightmap_0_227 (DXT1)
Lightmass on ALIENWARE: 1:04:57 hours total, 5.69 sec importing, 43.8 sec setup, 1:27 min photons, 1:02:39 hours processing, 0 ms extra exporting [372535/372535 mappings]. Threads: 11:29:16 hours total, 2:25:29 hours processing.
LogStaticLightingSystem: Illumination: 1:09:15 hours (3:49 min encoding lightmaps, 0 ms encoding shadowmaps)
LogStaticLightingSystem: Lightmap texture memory:  290.4 MB (290.4 MB streaming, 0.0 MB non-streaming), 454 textures
LogStaticLightingSystem: Shadowmap texture memory: 0.0 MB (0.0 MB streaming, 0.0 MB non-streaming), 0 textures
Cmd: MAP CHECK NOTIFYRESULTS
MapCheck: New page: B138 - Sep 22, 2016, 12:24:55 AM
MapCheck:Warning: Warning InstancedFoliageActor_0 1 element(s) with zero triangles in static mesh 'BogMyrtleBush_02' 
MapCheck: Info Map check complete: 0 Error(s), 1 Warning(s), took 542.061ms to complete.
LogMaterial: Missing cached shader map for material Material_0, compiling. 
LogSavePackage: Save=16726.63ms
LogSavePackage: Moving '../../../../../../Users/Olivier/Documents/Unreal Projects/B138test/Saved/UEDPCB138BF52F10B4235CA981B16978B0B7A1AA8.tmp' to '../../../../../../Users/Olivier/Documents/Unreal Projects/B138test/Saved/Autosaves/Game/StarterContent/Maps/UEDPCB138.umap'
LogSavePackage:Display: Finished SavePackage ../../../../../../Users/Olivier/Documents/Unreal Projects/B138test/Saved/Autosaves/Game/StarterContent/Maps/UEDPCB138.umap
LogEditorTransaction: Undo Spawn Play From Here Start
UATHelper: Packaging (Windows (64-bit)): Running AutomationTool...
UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject="C:/Users/Olivier/Documents/Unreal Projects/B138test/B138test.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="C:/Users/Olivier/Documents/Unreal Projects/B13
UATHelper: Packaging (Windows (64-bit)): 8test/B138test.uproject" -cook -stage -archive -archivedirectory=C:/Users/Olivier/Desktop/PROJECT -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output
UATHelper: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment.
UATHelper: Packaging (Windows (64-bit)): WindowsPlatform.get_Compiler: WARNING: Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that "Common Tools for Visual C++ 2015" was selected when installing Visual Studio 2015.
UATHelper: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\Olivier\Documents\Unreal Projects\B138test\B138test.uproject
UATHelper: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe B138test Win64 Development -Project="C:\Users\Olivier\Documents\Unreal Projects\B138test\B138test.uproject"  "C:\Users\Olivier\Documents\Unreal Project
UATHelper: Packaging (Windows (64-bit)): s\B138test\B138test.uproject"  -remoteini="C:\Users\Olivier\Documents\Unreal Projects\B138test" -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that "Common Tools for Visual C++ 2015" was selected when installing Visual Studio 2015.
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 1,1901411s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe B138test Win64 Development -Project="C:\Users\Olivier\Documents\Unreal Projects\B138test\B138test.uproject"  "C:\Users\Olivier\Documents\Unreal Projects\B138test\B138test.uproject"  -remoteini="C:\Users\Olivier\Doc
uments\Unreal Projects\B138test" -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Creating makefile for B138test (no existing makefile)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Performing full C++ include scan (no include cache file)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that "Common Tools for Visual C++ 2015" was selected when installing Visual Studio 2015.
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: Windows SDK v8.1 must be installed in order to build this target.
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 14,4910847s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe B138test Win64 Development -Proj
UATHelper: Packaging (Windows (64-bit)): ect="C:\Users\Olivier\Documents\Unreal Projects\B138test\B138test.uproject"  "C:\Users\Olivier\Documents\Unreal Projects\B138test\B138test.uproject"  -remoteini="C:\Users\Olivier\Documents\Unreal Projects\B138test" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2016.09.21-23.27.48.txt' 
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Diction
ary`2 InTargetToManifest)
UATHelper: Packaging (Windows (64-bit)):    à Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
UATHelper: Packaging (Windows (64-bit)):    à BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Windows (64-bit)):    à AutomationTool.Program.Main()
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Error
LogSavePackage: Save=20256.32ms
LogSavePackage: Moving '../../../../../../Users/Olivier/Documents/Unreal Projects/B138test/Saved/UEDPCB1383592CA37422FECD108C450A2D90FDF15.tmp' to '../../../../../../Users/Olivier/Documents/Unreal Projects/B138test/Saved/Autosaves/Game/StarterContent/Maps/UEDPCB138.umap'
LogSavePackage:Display: Finished SavePackage ../../../../../../Users/Olivier/Documents/Unreal Projects/B138test/Saved/Autosaves/Game/StarterContent/Maps/UEDPCB138.umap
LogEditorTransaction: Undo Spawn Play From Here Start
UATHelper: Packaging (Windows (64-bit)): Running AutomationTool...
UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject="C:/Users/Olivier/Documents/Unreal Projects/B138test/B138test.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="C:/Users/Olivier/Documents/Unreal Projects/B13
UATHelper: Packaging (Windows (64-bit)): 8test/B138test.uproject" -cook -stage -archive -archivedirectory=E:/PROJECT1 -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output
UATHelper: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment.
UATHelper: Packaging (Windows (64-bit)): WindowsPlatform.get_Compiler: WARNING: Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that "Common Tools for Visual C++ 2015" was selected when installing Visual Studio 2015.
UATHelper: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\Olivier\Documents\Unreal Projects\B138test\B138test.uproject
UATHelper: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED **********

If someone have an idea :slight_smile:

a lot !

This log clearly tells you whats wrong, it tries to compile something but you don’t have VS2015 installed or it does not see it for some reason. Is this C++ project? If not it might try to compile due to packaging settings, picking some options not avaible in binderies from luncher so it needs to rebuild the engine with those options on.

Hi Gorgo126,

I noticed this in your Log. These lines could use some investigating on your end.

  • UnrealBuildTool: Visual C++ 2015 toolchain does not appear to be correctly installed.** Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.**

  • ERROR: Windows SDK v8.1 must be installed in order to build this target.

Let us know if that helps,

I Re-install all Unreal Engine, Visual Studio, sdk.

I remove a lot of stuff from my project…

And I have again errors when I try to create package.

I give you another log file here, we have a memory error, I dont know…

an idea ?

PS : is not a C++ project.


link text

I looked into your memory error “Ran out of memory allocating ________ bytes with alignment 0”. This was apparently solved in this Hub Post:

This solution was to increase the Windows paging size here is a link with instuctions on how to do this.

Lastly, I noticed this line: “Info Failed to load /Game/Houses/House1.House1 Referenced by StaticMeshComponent0”

after some investigating this could be a couple of things.

  • Try fixing up redirectors in all your folders.
  • Check the asset in that location as there is a possibility that it is corrupted or the asset has an issue

Let me know if that solves your issue,

I restart from zero my project… now it’s work… strange.

for your advices :slight_smile:

when I saw your first comment at first I thought you were working in C ++
I had a similar situation .