Package Error

Hi guys,

I’m having trouble packaging my project. I’m getting the following error:

Automation.ParseCommandLine: Parsing command line: -ScriptsForProject="D:/UE Unreal Project/Apartement Aster/Apartement_aster.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="D:/UE Unreal Project/Apartement Aster/Apartement_aster.uproject" -cook -stage -archive -archivedirectory=D:/TEST -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -CrashReporter -utf8output
Automation.Process: Setting up command environment.
InternalUtils.SafeFileExists:  SafeFileExists D:\PROGRAM\Unreal engine 4\Epic Games\4.14\Engine\Binaries\DotNET\AutomationTool.exe=True
InternalUtils.GetEnvironmentVariable:  GetEnvironmentVariable uebp_LOCAL_ROOT=
InternalUtils.GetEnvironmentVariable:  GetEnvironmentVariable uebp_LOCAL_ROOT=D:/PROGRAM/Unreal engine 4/Epic Games/4.14
CommandUtils.SetEnvVar:  SetEnvVar uebp_EngineSavedFolder=D:/PROGRAM/Unreal engine 4/Epic Games/4.14/Engine/Programs/AutomationTool/Saved
InternalUtils.GetEnvironmentVariable:  GetEnvironmentVariable uebp_LogFolder=
InternalUtils.GetEnvironmentVariable:  GetEnvironmentVariable uebp_LOCAL_ROOT=D:/PROGRAM/Unreal engine 4/Epic Games/4.14
InternalUtils.SafeDeleteFile:  SafeDeleteFile C:\Users\NEXT LEVEL 1\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+PROGRAM+Unreal+engine+4+Epic+Games+4.14\UAT_Log.txt
InternalUtils.SafeFileExists:  SafeFileExists D:\PROGRAM\Unreal engine 4\Epic Games\4.14\Engine\Binaries\DotNET\AutomationTool.exe=True
InternalUtils.GetEnvironmentVariable:  GetEnvironmentVariable uebp_LOCAL_ROOT=D:/PROGRAM/Unreal engine 4/Epic Games/4.14
InternalUtils.GetEnvironmentVariable:  GetEnvironmentVariable uebp_EngineSavedFolder=D:/PROGRAM/Unreal engine 4/Epic Games/4.14/Engine/Programs/AutomationTool/Saved
InternalUtils.GetEnvironmentVariable:  GetEnvironmentVariable uebp_EngineSavedFolder=D:/PROGRAM/Unreal engine 4/Epic Games/4.14/Engine/Programs/AutomationTool/Saved
InternalUtils.GetEnvironmentVariable:  GetEnvironmentVariable uebp_CSVFile=
InternalUtils.GetEnvironmentVariable:  GetEnvironmentVariable uebp_LogFolder=C:/Users/NEXT LEVEL 1/AppData/Roaming/Unreal Engine/AutomationTool/Logs/D+PROGRAM+Unreal+engine+4+Epic+Games+4.14
InternalUtils.SafeFileExists:  SafeFileExists C:\Windows\system32\robocopy.exe=True
InternalUtils.SafeFileExists:  SafeFileExists C:\Windows\system32\mount.exe=False
InternalUtils.SafeFileExists:  SafeFileExists C:\Windows\Sysnative\mount.exe=False
InternalUtils.SafeFileExists:  SafeFileExists C:\Windows\system32\cmd.exe=True
CommandUtils.SetEnvVar:  SetEnvVar MallocNanoZone=0
InternalUtils.SafeFileExists:  SafeFileExists D:\UE Unreal Project\Apartement Aster\Apartement_aster.uproject=True
InternalUtils.SafeFileExists:  SafeFileExists D:\UE Unreal Project\Apartement Aster\Apartement_aster.uproject=True
BuildCookRun.SetupParams: Setting up ProjectParams for D:\UE Unreal Project\Apartement Aster\Apartement_aster.uproject
Program.Main: ERROR: AutomationTool terminated with exception: System.Exception: Could not find token at index 155
   at fastJSON.JsonParser.NextTokenCore()
   at fastJSON.JsonParser.LookAhead()
   at fastJSON.JsonParser.ParseValue()
   at fastJSON.JsonParser.ParseObject()
   at fastJSON.JsonParser.ParseValue()
   at fastJSON.JsonParser.ParseArray()
   at fastJSON.JsonParser.ParseValue()
   at fastJSON.JsonParser.ParseObject()
   at fastJSON.JsonParser.ParseValue()
   at fastJSON.JsonParser.Decode()
   at fastJSON.JSON.Parse(String json)
   at UnrealBuildTool.JsonObject.Parse(String Text)
   at UnrealBuildTool.JsonObject.Read(String FileName)
   at UnrealBuildTool.ProjectDescriptor.FromFile(String FileName)
   at AutomationTool.ProjectUtils.RequiresTempTarget(FileReference RawProjectPath, List`1 ClientTargetPlatforms, Boolean AssetNativizationRequested)
   at AutomationTool.ProjectUtils.DetectProjectProperties(FileReference RawProjectPath, List`1 ClientTargetPlatforms, Boolean AssetNativizationRequested)
   at AutomationTool.ProjectUtils.GetProjectProperties(FileReference RawProjectPath, List`1 ClientTargetPlatforms, Boolean AssetNativizationRequested)
   at AutomationTool.ProjectParams.AutodetectSettings(Boolean bReset)
   at AutomationTool.ProjectParams..ctor(FileReference RawProjectPath, CommandUtils Command, String Device, String MapToRun, String AdditionalServerMapParams, ParamList`1 Port, String RunCommandline, String StageCommandline, String BundleName, String StageDirectoryParam, String UE4Exe, String SignPak, List`1 ClientConfigsToBuild, List`1 ServerConfigsToBuild, ParamList`1 MapsToCook, ParamList`1 DirectoriesToCook, String InternationalizationPreset, ParamList`1 CulturesToCook, ParamList`1 ClientCookedTargets, ParamList`1 EditorTargets, ParamList`1 ServerCookedTargets, List`1 ClientTargetPlatforms, Dictionary`2 ClientDependentPlatformMap, List`1 ServerTargetPlatforms, Dictionary`2 ServerDependentPlatformMap, Nullable`1 Build, Nullable`1 Cook, Nullable`1 Run, Nullable`1 SkipServer, Nullable`1 Clean, Nullable`1 Compressed, Nullable`1 UseDebugParamForEditorExe, Nullable`1 IterativeCooking, Nullable`1 CookAll, Nullable`1 CookPartialGC, Nullable`1 CookMapsOnly, Nullable`1 CookOnTheFly, Nullable`1 CookOnTheFlyStreaming, Nullable`1 UnversionedCookedContent, Nullable`1 EncryptIniFiles, Nullable`1 SkipCookingEditorContent, Nullable`1 NumCookersToSpawn, String AdditionalCookerOptions, String BasedOnReleaseVersion, String CreateReleaseVersion, String CreateReleaseVersionBasePath, String BasedOnReleaseVersionBasePath, Nullable`1 GeneratePatch, String DLCName, String DiffCookedContentPath, Nullable`1 DLCIncludeEngineContent, Nullable`1 NewCook, Nullable`1 OldCook, Nullable`1 CrashReporter, Nullable`1 DedicatedServer, Nullable`1 Client, Nullable`1 Deploy, Nullable`1 FileServer, Nullable`1 Foreign, Nullable`1 ForeignCode, Nullable`1 LogWindow, Nullable`1 NoCleanStage, Nullable`1 NoClient, Nullable`1 NoDebugInfo, Nullable`1 NoXGE, Nullable`1 Package, Nullable`1 Pak, Nullable`1 Prereqs, String AppLocalDirectory, Nullable`1 NoBootstrapExe, Nullable`1 SignedPak, Nullable`1 NullRHI, Nullable`1 FakeClient, Nullable`1 EditorTest, Nullable`1 RunAutomationTests, String RunAutomationTest, Nullable`1 CrashIndex, Nullable`1 SkipCook, Nullable`1 SkipCookOnTheFly, Nullable`1 SkipPak, Nullable`1 SkipStage, Nullable`1 Stage, Nullable`1 Manifests, Nullable`1 CreateChunkInstall, Nullable`1 Unattended, Nullable`1 NumClients, Nullable`1 Archive, String ArchiveDirectoryParam, Nullable`1 ArchiveMetaData, Nullable`1 CreateAppBundle, ParamList`1 ProgramTargets, Nullable`1 Distribution, Nullable`1 Prebuilt, Nullable`1 RunTimeoutSeconds, String SpecifiedArchitecture, Nullable`1 IterativeDeploy, Nullable`1 FastCook, Nullable`1 IgnoreCookErrors, Nullable`1 RunAssetNativization, Nullable`1 CodeSign, Nullable`1 TreatNonShippingBinariesAsDebugFiles, String Provision, String Certificate, ParamList`1 InMapsToRebuildLightMaps, ParamList`1 TitleID)
   at BuildCookRun.SetupParams()
   at BuildCookRun.ExecuteBuild()
   at AutomationTool.BuildCommand.Execute()
   at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
   at AutomationTool.Automation.Process(String[] Arguments)
   at AutomationTool.Program.MainProc(Object Param)
   at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
   at AutomationTool.Program.Main()
Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

i was disable any plugin and installed visual studio C++… and still failed :frowning:

Sory , here the file
link text

Hello dinka,

Thank you for the information but can you provide the full log file? While the error does seem to be happening in the automation tool, there isn’t much information in this small section. Being able to see the entire process would be helpful.

We haven’t heard from you in a while, dinka. Are you still experiencing this issue? If so, can you provide the information I requested in my previous comment? In the meantime, I’ll be marking this issue as resolved for tracking purposes.

im sorry for late reply,

i didn’t find the solution,

so i make new project and migrate all model :frowning: and all fine. i dont know what is the warning.

i know that if WARN = AutomationTool exiting with ExitCode=5 , thats mean i must disable all plugin,
and if “AutomationTool exiting with ExitCode=1” << still dont know

so i just uninstall all plugin, and all fine , no WARN anymore

In my case I was able to resolve error: “Could not find token at index 155” with the same engine version but from the source