Jump to content

Can't package my game unreal engine 5

Linus No Beard
Go to solution Solved by Linus No Beard,
6 hours ago, AndreiArgeanu said:

I mean it tells you where the file is. It might be worth taking a look over even if its c# it's not that difficult to understand since only that single  cs file seems to cause  the issue.

i found the problem when i renamed my project i included a space in the name that broke the code

i am trying to make a game but i can't build it because i keep getting this output error

 

UATHelper: Packaging (Windows):           at AutomationTool.ProjectParams..ctor(FileReference RawProjectPath, BuildCommand 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 MapIniSectionsToCook, ParamList`1 DirectoriesToCook, String DDCGraph, 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 SkipBuildClient, Nullable`1 SkipBuildEditor, Nullable`1 Cook, Nullable`1 Run, Nullable`1 SkipServer, Nullable`1 Clean, Nullable`1 Compressed, String AdditionalPakOptions, String AdditionalIoStoreOptions, Nullable`1 IterativeCooking, String IterateSharedCookedBuild, Nullable`1 IterateSharedBuildUsePrecompiledExe, Nullable`1 CookAll, Nullable`1 CookPartialGC, Nullabl
e`1 CookInEditor, String CookOutputDir, Nullable`1 CookMapsOnly, Nullable`1 CookOnTheFly, Nullable`1 CookOnTheFlyStreaming, Nullable`1 UnversionedCookedContent, Nullable`1 EncryptIniFiles, Nullable`1 EncryptPakIndex, Nullable`1 EncryptEverything, Nullable`1 SkipCookingEditorContent, Nullable`1 NumCookersToSpawn, String AdditionalCookerOptions, String BasedOnReleaseVersion, String CreateReleaseVersion, String CreateReleaseVersionBasePath, String BasedOnReleaseVersionBasePath, Nullable`1 GeneratePatch, Nullable`1 AddPatchLevel, Nullable`1 StageBaseReleasePaks, Nullable`1 GenerateRemaster, String
 DiscVersion, String DLCName, String DiffCookedContentPath, Nullable`1 DLCIncludeEngineContent, Nullable`1 DLCPakPluginFile, Nullable`1 DLCActLikePatch, Nullable`1 CrashReporter, Nullable`1 DedicatedServer, Nullable`1 Client, Nullable`1 Deploy, String DeployFolder, String GetFile, Nullable`1 FileServer, Nullable`1 Foreign, Nullable`1 ForeignCode, Nullable`1 LogWindow, Nullable`1 NoCleanStage, Nullable`1 NoClient, Nullable`1 NoDebugInfo, Nullable`1 SeparateDebugInfo, Nullable`1 MapFile, Nullable`1 NoXGE, Nullable`1 SkipPackage, Nullable`1 Package, Nullable`1 Pak, Nullable`1 IgnorePaksFromDiffer
entCookSource, Nullable`1 IoStore, Nullable`1 SkipIoStore, Nullable`1 GenerateOptimizationData, Nullable`1 Prereqs, String AppLocalDirectory, Nullable`1 NoBootstrapExe, Nullable`1 SignedPak, Nullable`1 PakAlignForMemoryMapping, 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 PrePak, 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, String SpecifiedClientTarget, String SpecifiedServerTarget, ParamList`1 ProgramTargets, Nullable`1 Distribution, Nullable`1 Prebuilt, Nullable`1 RunTimeoutSeconds, String SpecifiedArchitecture, String UbtArgs, String AdditionalPackageOptions, Nullable`1 IterativeDeploy, Nullable`1 FastCook, Nullable`1 IgnoreCookErrors, Nullable`1 CodeSign, Nullable`1 TreatNonShippingBinariesAsDebugFiles, Nullable`1 UseExtraFlavor, String Provision, String Certificate, String Team, Boolean AutomaticSignin
g, ParamList`1 InMapsToRebuildLightMaps, ParamList`1 InMapsToRebuildHLOD, ParamList`1 TitleID) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 1075
UATHelper: Packaging (Windows):           at BuildCookRun.SetupParams() in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 46
UATHelper: Packaging (Windows):           at BuildCookRun.ExecuteBuild() in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 37
UATHelper: Packaging (Windows):           at AutomationTool.BuildCommand.Execute() in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 323
UATHelper: Packaging (Windows):           at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 541
UATHelper: Packaging (Windows):           at AutomationTool.Automation.Process(String[] Arguments, StartupTraceListener StartupListener) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 498
UATHelper: Packaging (Windows):           at AutomationTool.Program.MainProc(String[] Arguments, StartupTraceListener StartupListener) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\Program.cs:line 176
UATHelper: Packaging (Windows):           at AutomationTool.Program.<>c__DisplayClass1_0.<Main>b__2() in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\Program.cs:line 88
UATHelper: Packaging (Windows):           at AutomationTool.InternalUtils.RunSingleInstance(String[] Arguments, Func`1 Main) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 752
UATHelper: Packaging (Windows):           at AutomationTool.Program.Main(String[] Arguments) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\Program.cs:line 88
UATHelper: Packaging (Windows):        (see C:\Users\Daniel\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Daniel+Apps+UE_5.0EA\Log.txt for full exception trace)
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error
LogTurnkeySupport: Display: Adding device menu item for DESKTOP-H1Q77NR
LogSlate: Window 'SDK Not Setup' being destroyed
LogUObjectHash: Compacting FUObjectHashTables data took   0.72ms
LogTurnkeySupport: Project requires temp target (Water plugin is enabled)
LogLauncherProfile: Unable to use promoted target - ../../../../../Big Files/Game Projects/The Aftermath/Binaries/Win64/UnrealGame.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""D:/Daniel/Apps/UE_5.0EA/Engine/Build/BatchFiles/RunUAT.bat" -ScriptsForProject="D:/Daniel/Big Files/Game Projects/The Aftermath/The Aftermath.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -project="D:/Daniel/Big Files/Game Projects/The Aftermath/The Aftermath.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -cook  -project="D:/Daniel/Big Files/Game Projects/The Aftermath/The Aftermath.uproject"  -ue4exe="D:\Daniel\Apps\UE_5.0EA\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Win64 -ddc=I
nstalledDerivedDataBackendGraph -installed -stage -archive -package -build -iostore -pak -prereqs -archivedirectory="C:/Users/Daniel/Desktop/Games/The Aftermath" -nodebuginfo -clientconfig=Development" ]
UATHelper: Packaging (Windows): Running AutomationTool...
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject="D:/Daniel/Big Files/Game Projects/The Aftermath/The Aftermath.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -project="D:/Daniel/Big Files/Game Projects/The Aftermath/The Aftermath.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -cook -project="D:/Daniel/Big Files/Game Projects/The Aftermath/The Aftermath.uproject" -ue4exe=D:\Daniel\Apps\UE_5.0EA\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -platform=Win64 -ddc=InstalledDerivedDataBackendGraph -installed -stage -archive -package -b
uild -iostore -pak -prereqs -archivedirectory="C:/Users/Daniel/Desktop/Games/The Aftermath" -nodebuginfo -clientconfig=Development
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, Installed=10.0.16299.0, AutoSDK=, MinAllowed=10.0.00000.0, MaxAllowed=10.9.99999.0, Flags="InstalledSdk_ValidVersionExists")
UATHelper: Packaging (Windows): Scanning for envvar changes...
UATHelper: Packaging (Windows): ... done! 
UATHelper: Packaging (Windows): Cleaning Temp Paths...
UATHelper: Packaging (Windows): BUILD SUCCESSFUL
UATHelper: Packaging (Windows): Setting up ProjectParams for D:\Daniel\Big Files\Game Projects\The Aftermath\The Aftermath.uproject
UATHelper: Packaging (Windows): The Aftermath.uproject requires a temporary target.cs to be generated (Water plugin is enabled)
UATHelper: Packaging (Windows): WARNING: Errors generated while parsing 'D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs'
PackagingResults: Warning: Errors generated while parsing 'D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs'
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS1514: { expected
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS1513: } expected
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS8652: The feature 'top-level statements' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS8803: Top-level statements must precede namespace and type declarations.
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,47): error CS1002: ; expected
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,2): error CS0106: The modifier 'public' is not valid for this item
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,48): error CS1002: ; expected
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,48): error CS1513: } expected
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,62): error CS1002: ; expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS1514: { expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS1513: } expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS8652: The feature 'top-level statements' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS8803: Top-level statements must precede namespace and type declarations.
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,47): error CS1002: ; expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,2): error CS0106: The modifier 'public' is not valid for this item
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,48): error CS1002: ; expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,48): error CS1513: } expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,62): error CS1002: ; expected
UATHelper: Packaging (Windows): ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Daniel\AppData\Local\Temp\UAT\D+Daniel+Apps+UE_5.0EA\Rules\UATRules-7bae7d28ff48afa601adeb2299c13891Manifest.json'.
UATHelper: Packaging (Windows):           at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
UATHelper: Packaging (Windows):           at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
UATHelper: Packaging (Windows):           at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
UATHelper: Packaging (Windows):           at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
UATHelper: Packaging (Windows):           at System.IO.StreamWriter..ctor(String path)
UATHelper: Packaging (Windows):           at EpicGames.Core.JsonWriter..ctor(FileReference FileName, JsonWriterStyle Style) in d:\build\++UE5\Sync\Engine\Source\Programs\Shared\EpicGames.Core\JsonWriter.cs:line 56
UATHelper: Packaging (Windows):           at UnrealBuildTool.DynamicCompilation.CompileAndLoadAssembly(FileReference OutputAssemblyPath, HashSet`1 SourceFileNames, List`1 ReferencedAssembies, List`1 PreprocessorDefines, Boolean DoNotCompile, Boolean TreatWarningsAsErrors) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\System\DynamicCompilation.cs:line 338
UATHelper: Packaging (Windows):           at AutomationTool.ProjectUtils.CompileAndLoadTargetsAssembly(ProjectProperties Properties, FileReference TargetsDllFilename, Boolean DoNotCompile, List`1 TargetScripts) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 751
UATHelper: Packaging (Windows):           at AutomationTool.ProjectUtils.DetectTargetsForProject(ProjectProperties Properties, List`1 ExtraSearchPaths) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 733
UATHelper: Packaging (Windows):           at AutomationTool.ProjectUtils.DetectProjectProperties(FileReference RawProjectPath, List`1 ClientTargetPlatforms, List`1 ClientTargetConfigurations, Boolean AssetNativizationRequested) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 548
UATHelper: Packaging (Windows):           at AutomationTool.ProjectUtils.GetProjectProperties(FileReference RawProjectPath, List`1 ClientTargetPlatforms, List`1 ClientTargetConfigurations, Boolean AssetNativizationRequested) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 99
UATHelper: Packaging (Windows):           at AutomationTool.ProjectParams.AutodetectSettings(Boolean bReset) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 2052
PackagingResults: Error: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Daniel\AppData\Local\Temp\UAT\D+Daniel+Apps+UE_5.0EA\Rules\UATRules-7bae7d28ff48afa601adeb2299c13891Manifest.json'.
UATHelper: Packaging (Windows):           at AutomationTool.ProjectParams..ctor(FileReference RawProjectPath, BuildCommand 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 MapIniSectionsToCook, ParamList`1 DirectoriesToCook, String DDCGraph, 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 SkipBuildClient, Nullable`1 SkipBuildEditor, Nullable`1 Cook, Nullable`1 Run, Nullable`1 SkipServer, Nullable`1 Clean, Nullable`1 Compressed, String AdditionalPakOptions, String AdditionalIoStoreOptions, Nullable`1 IterativeCooking, String IterateSharedCookedBuild, Nullable`1 IterateSharedBuildUsePrecompiledExe, Nullable`1 CookAll, Nullable`1 CookPartialGC, Nullabl
e`1 CookInEditor, String CookOutputDir, Nullable`1 CookMapsOnly, Nullable`1 CookOnTheFly, Nullable`1 CookOnTheFlyStreaming, Nullable`1 UnversionedCookedContent, Nullable`1 EncryptIniFiles, Nullable`1 EncryptPakIndex, Nullable`1 EncryptEverything, Nullable`1 SkipCookingEditorContent, Nullable`1 NumCookersToSpawn, String AdditionalCookerOptions, String BasedOnReleaseVersion, String CreateReleaseVersion, String CreateReleaseVersionBasePath, String BasedOnReleaseVersionBasePath, Nullable`1 GeneratePatch, Nullable`1 AddPatchLevel, Nullable`1 StageBaseReleasePaks, Nullable`1 GenerateRemaster, String
 DiscVersion, String DLCName, String DiffCookedContentPath, Nullable`1 DLCIncludeEngineContent, Nullable`1 DLCPakPluginFile, Nullable`1 DLCActLikePatch, Nullable`1 CrashReporter, Nullable`1 DedicatedServer, Nullable`1 Client, Nullable`1 Deploy, String DeployFolder, String GetFile, Nullable`1 FileServer, Nullable`1 Foreign, Nullable`1 ForeignCode, Nullable`1 LogWindow, Nullable`1 NoCleanStage, Nullable`1 NoClient, Nullable`1 NoDebugInfo, Nullable`1 SeparateDebugInfo, Nullable`1 MapFile, Nullable`1 NoXGE, Nullable`1 SkipPackage, Nullable`1 Package, Nullable`1 Pak, Nullable`1 IgnorePaksFromDiffer
entCookSource, Nullable`1 IoStore, Nullable`1 SkipIoStore, Nullable`1 GenerateOptimizationData, Nullable`1 Prereqs, String AppLocalDirectory, Nullable`1 NoBootstrapExe, Nullable`1 SignedPak, Nullable`1 PakAlignForMemoryMapping, 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 PrePak, 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, String SpecifiedClientTarget, String SpecifiedServerTarget, ParamList`1 ProgramTargets, Nullable`1 Distribution, Nullable`1 Prebuilt, Nullable`1 RunTimeoutSeconds, String SpecifiedArchitecture, String UbtArgs, String AdditionalPackageOptions, Nullable`1 IterativeDeploy, Nullable`1 FastCook, Nullable`1 IgnoreCookErrors, Nullable`1 CodeSign, Nullable`1 TreatNonShippingBinariesAsDebugFiles, Nullable`1 UseExtraFlavor, String Provision, String Certificate, String Team, Boolean AutomaticSignin
g, ParamList`1 InMapsToRebuildLightMaps, ParamList`1 InMapsToRebuildHLOD, ParamList`1 TitleID) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 1075
UATHelper: Packaging (Windows):           at BuildCookRun.SetupParams() in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 46
UATHelper: Packaging (Windows):           at BuildCookRun.ExecuteBuild() in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 37
UATHelper: Packaging (Windows):           at AutomationTool.BuildCommand.Execute() in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 323
UATHelper: Packaging (Windows):           at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 541
UATHelper: Packaging (Windows):           at AutomationTool.Automation.Process(String[] Arguments, StartupTraceListener StartupListener) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 498
UATHelper: Packaging (Windows):           at AutomationTool.Program.MainProc(String[] Arguments, StartupTraceListener StartupListener) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\Program.cs:line 176
UATHelper: Packaging (Windows):           at AutomationTool.Program.<>c__DisplayClass1_0.<Main>b__2() in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\Program.cs:line 88
UATHelper: Packaging (Windows):           at AutomationTool.InternalUtils.RunSingleInstance(String[] Arguments, Func`1 Main) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 752
UATHelper: Packaging (Windows):           at AutomationTool.Program.Main(String[] Arguments) in d:\build\++UE5\Sync\Engine\Source\Programs\AutomationTool\Program.cs:line 88
UATHelper: Packaging (Windows):        (see C:\Users\Daniel\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Daniel+Apps+UE_5.0EA\Log.txt for full exception trace)
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

does anyone understand this cripitic stuff

Link to comment
Share on other sites

Link to post
Share on other sites

58 minutes ago, Linus No Beard said:
UATHelper: Packaging (Windows): WARNING: Errors generated while parsing 'D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs'
PackagingResults: Warning: Errors generated while parsing 'D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs'
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS1514: { expected
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS1513: } expected
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS8652: The feature 'top-level statements' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS8803: Top-level statements must precede namespace and type declarations.
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,47): error CS1002: ; expected
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,2): error CS0106: The modifier 'public' is not valid for this item
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,48): error CS1002: ; expected
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,48): error CS1513: } expected
UATHelper: Packaging (Windows): ERROR: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,62): error CS1002: ; expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS1514: { expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS1513: } expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS8652: The feature 'top-level statements' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,18): error CS8803: Top-level statements must precede namespace and type declarations.
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(3,47): error CS1002: ; expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,2): error CS0106: The modifier 'public' is not valid for this item
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,48): error CS1002: ; expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,48): error CS1513: } expected
PackagingResults: Error: D:\Daniel\Big Files\Game Projects\The Aftermath\Intermediate\Source\The Aftermath.Target.cs(5,62): error CS1002: ; expected

These are essentially errors. It says at the top Errors generated while parsing a c# file followed by those errors at the very end of the directory locations.

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, AndreiArgeanu said:

These are essentially errors. It says at the top Errors generated while parsing a c# file followed by those errors at the very end of the directory locations.

i have no clue what or whare those files are i have 0 custom. c++ code and it works perfect in the editor 

Link to comment
Share on other sites

Link to post
Share on other sites

10 hours ago, Linus No Beard said:

i have no clue what or whare those files are i have 0 custom. c++ code and it works perfect in the editor 

I mean it tells you where the file is. It might be worth taking a look over even if its c# it's not that difficult to understand since only that single  cs file seems to cause  the issue.

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, AndreiArgeanu said:

I mean it tells you where the file is. It might be worth taking a look over even if its c# it's not that difficult to understand since only that single  cs file seems to cause  the issue.

so what i need to fix auto generated scripts because epic did not think to try to package a game before releasing a game engine 

Link to comment
Share on other sites

Link to post
Share on other sites

6 hours ago, AndreiArgeanu said:

I mean it tells you where the file is. It might be worth taking a look over even if its c# it's not that difficult to understand since only that single  cs file seems to cause  the issue.

i found the problem when i renamed my project i included a space in the name that broke the code

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×