I recently upgraded my project form 5.1 to 5.4 and now my project cant be packaged. any ideas would be apricated.
LogUObjectHash: Compacting FUObjectHashTables data took 1.16ms
LogTurnkeySupport: Project requires temp target (ElectraPlayer plugin is enabled)
LogLauncherProfile: Unable to use promoted target - ../../../../Unreal Projects/ProjectSTACKABLES5.4/Binaries/Win64/UnrealGame-Win64-Shipping.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""E:/UE_5.4/Engine/Build/BatchFiles/RunUAT.bat" -ScriptsForProject="E:/Unreal Projects/ProjectSTACKABLES5.4/ProjectStackables5.4.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=61075 -project="E:/Unreal Projects/ProjectSTACKABLES5.4/ProjectStackables5.4.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="E:/Unreal Projects/ProjectSTACKABLES5.4/ProjectStackables5.4.uproject" -unrealexe="E:\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=W
in64 -installed -stage -archive -package -build -clean -pak -iostore -compressed -prereqs -archivedirectory="E:/packaged products" -nodebuginfo" -nocompile -nocompileuat ]
UATHelper: Packaging (Windows): Running AutomationTool...
UATHelper: Packaging (Windows): Using bundled DotNet SDK version: 6.0.302
UATHelper: Packaging (Windows): Starting AutomationTool...
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject="E:/Unreal Projects/ProjectSTACKABLES5.4/ProjectStackables5.4.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=61075 -project="E:/Unreal Projects/ProjectSTACKABLES5.4/ProjectStackables5.4.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="E:/Unreal Projects/ProjectSTACKABLES5.4/ProjectStackables5.4.uproject" -unrealexe=E:\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -platform=Win64 -installed -stage -archive -package -build -clean -pa
k -iostore -compressed -prereqs -archivedirectory="E:/packaged products" -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules...
UATHelper: Packaging (Windows): Total script module initialization time: 0.23 s.
UATHelper: Packaging (Windows): Using C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe
UATHelper: Packaging (Windows): Executing commands...
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.18362.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.22621.0, Allowed_AutoSdk=10.0.19041.0, Current_AutoSdk=, 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 E:\Unreal Projects\ProjectSTACKABLES5.4\ProjectStackables5.4.uproject
UATHelper: Packaging (Windows): Errors generated while parsing 'E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs'
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(3,32): error CS1514: { expected
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(3,32): error CS1513: } expected
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(3,32): error CS8803: Top-level statements must precede namespace and type declarations.
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(3,34): error CS1002: ; expected
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(3,54): error CS1002: ; expected
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(4,2): error CS1513: } expected
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(5,9): error CS0116: A namespace cannot directly contain members such as fields, methods or statements
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(5,29): error CS1002: ; expected
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(5,47): error CS1003: Syntax error, ',' expected
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(5,55): error CS1002: ; expected
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(5,55): error CS1022: Type or namespace definition, or end-of-file expected
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(5,69): error CS1002: ; expected
UATHelper: Packaging (Windows): E:\Unreal Projects\ProjectSTACKABLES5.4\Intermediate\Source\ProjectStackables5.4.Target.cs(12,1): error CS1022: Type or namespace definition, or end-of-file expected
UATHelper: Packaging (Windows): System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\kinze\AppData\Local\Temp\UAT\E+UE_5.4\Rules\UATRules-39b0c727c4f5e25641db933c955e1807Manifest.json'.
UATHelper: Packaging (Windows): at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
UATHelper: Packaging (Windows): at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
UATHelper: Packaging (Windows): at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
UATHelper: Packaging (Windows): at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
UATHelper: Packaging (Windows): at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
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\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\JsonWriter.cs:line 55
UATHelper: Packaging (Windows): at UnrealBuildTool.DynamicCompilation.CompileAndLoadAssembly(FileReference OutputAssemblyPath, IEnumerable\
1 SourceFileNames, ILogger Logger, IEnumerable1 ReferencedAssembies, IEnumerable
1 PreprocessorDefines, Boolean DoNotCompile, Boolean ForceCompile, Boolean TreatWarningsAsErrors) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\DynamicCompilation.cs:line 344`
UATHelper: Packaging (Windows): at AutomationTool.ProjectUtils.CompileAndLoadTargetsAssembly(ProjectProperties Properties, FileReference TargetsDllFilename, Boolean DoNotCompile, List\
1 TargetScripts) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 483`
UATHelper: Packaging (Windows): at AutomationTool.ProjectUtils.DetectTargetsForProject(ProjectProperties Properties, List\
1 ExtraSearchPaths) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 461`
UATHelper: Packaging (Windows): at AutomationTool.ProjectUtils.DetectProjectProperties(FileReference RawProjectPath, List\
1 ClientTargetPlatforms, List1 ClientTargetConfigurations, Boolean AssetNativizationRequested) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 266
UATHelper: Packaging (Windows): at AutomationTool.ProjectUtils.GetProjectProperties(FileReference RawProjectPath, List\
1 ClientTargetPlatforms, List1 ClientTargetConfigurations, Boolean AssetNativizationRequested) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 178
UATHelper: Packaging (Windows): at AutomationTool.ProjectParams.AutodetectSettings(Boolean bReset) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 2453
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 UnrealExe, String UE4Exe, String SignPak, List1 ClientConfigsToBuild, List
1 ServerConfigsToBuild, ParamList1 MapsToCook, ParamList
1 MapIniSectionsToCook, ParamList1 DirectoriesToCook, String DDCGraph, String InternationalizationPreset, ParamList
1 CulturesToCook, ParamList1 ClientCo
okedTargets, ParamList\
1 EditorTargets, ParamList1 ServerCookedTargets, List
1 ClientTargetPlatforms, Dictionary2 ClientDependentPlatformMap, List
1 ServerTargetPlatforms, Dictionary2 ServerDependentPlatformMap, List
1 ConfigOverrideParams, Nullable1 Build, Nullable
1 SkipBuildClient, Nullable1 SkipBuildEditor, Nullable
1 Cook, Nullable1 Run, Nullable
1 SkipServer, Nullable1 Clean, Nullable
1 Compressed, Nullable1 ForceUncompressed, String AdditionalPakOptions, String AdditionalIoStoreOptions, String ForceOodleDllVersion, Nullable
1 IterativeCooking, String IterateSharedCookedBuild, Nu`
llable\
1 IterateSharedBuildUsePrecompiledExe, Nullable1 CookAll, Nullable
1 CookPartialGC, Nullable1 CookInEditor, String CookOutputDir, Nullable
1 CookMapsOnly, Nullable1 CookOnTheFly, Nullable
1 CookOnTheFlyStreaming, Nullable1 UnversionedCookedContent, Nullable
1 OptionalContent, Nullable1 EncryptIniFiles, Nullable
1 EncryptPakIndex, Nullable1 EncryptEverything, Nullable
1 SkipCookingEditorContent, String AdditionalCookerOptions, String OriginalReleaseVersion, String BasedOnReleaseVersion, String CreateReleaseVersion, String CreateReleaseVersionBasePath, String BasedOnReleaseVersionBa`
sePath, String ReferenceContainerGlobalFileName, String ReferenceContainerCryptoKeys, Nullable\
1 GeneratePatch, Nullable1 AddPatchLevel, Nullable
1 StageBaseReleasePaks, String DiscVersion, String DLCName, String DLCOverrideCookedSubDir, String DLCOverrideStagedSubDir, String DiffCookedContentPath, Nullable1 DLCIncludeEngineContent, Nullable
1 DLCPakPluginFile, Nullable1 DLCActLikePatch, Nullable
1 CrashReporter, Nullable1 DedicatedServer, Nullable
1 Client, Nullable1 Deploy, String DeployFolder, String GetFile, Nullable
1 FileServer, Nullable1 Foreign, Nullable
1 ForeignCode, Nullable1
LogWindow, Nullable\
1 NoCleanStage, Nullable1 NoClient, Nullable
1 NoDebugInfo, Nullable1 SeparateDebugInfo, Nullable
1 MapFile, Nullable1 NoXGE, Nullable
1 SkipPackage, Nullable1 NeverPackage, Nullable
1 Package, Nullable1 Pak, Nullable
1 IgnorePaksFromDifferentCookSource, Nullable1 IoStore, Nullable
1 ZenStore, String NoZenAutoLaunch, Nullable1 SkipIoStore, Nullable
1 GenerateOptimizationData, Nullable1 Prereqs, String AppLocalDirectory, String CustomDeploymentHandler, Nullable
1 NoBootstrapExe, Nullable1 SignedPak, Nullable
1 PakAlignForMemoryMapping, Nullable1 RehydrateAssets, N
ullable\
1 NullRHI, Nullable1 FakeClient, Nullable
1 EditorTest, Nullable1 RunAutomationTests, String RunAutomationTest, Nullable
1 CrashIndex, Nullable1 SkipCook, Nullable
1 SkipCookOnTheFly, Nullable1 SkipPak, Nullable
1 PrePak, Nullable1 SkipStage, Nullable
1 Stage, Nullable1 Manifests, Nullable
1 CreateChunkInstall, Nullable1 SkipEncryption, Nullable
1 Unattended, Nullable1 NumClients, Nullable
1 Archive, String ArchiveDirectoryParam, Nullable1 ArchiveMetaData, Nullable
1 CreateAppBundle, String SpecifiedClientTarget, String SpecifiedServerTarget, ParamList1 ProgramTargets, Nullab
le\
1 Distribution, String PackageEncryptionKeyFile, Nullable1 Prebuilt, Nullable
1 RunTimeoutSeconds, String SpecifiedArchitecture, String ServerArchitecture, String EditorArchitecture, String ClientArchitecture, String ProgramArchitecture, String UbtArgs, String AdditionalPackageOptions, Nullable1 IterativeDeploy, Nullable
1 FastCook, Nullable1 IgnoreCookErrors, Nullable
1 KeepFileOpenLog, Nullable1 CodeSign, Nullable
1 TreatNonShippingBinariesAsDebugFiles, Nullable1 UseExtraFlavor, String Provision, String Certificate, String Team, Boolean AutomaticSigning, String Trace, String TraceHos
t, String TraceFile, String SessionLabel, ParamList\
1 InMapsToRebuildLightMaps, ParamList1 InMapsToRebuildHLOD, ParamList
1 TitleID, String Upload) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 1295`
UATHelper: Packaging (Windows): at BuildCookRun.SetupParams() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 50
UATHelper: Packaging (Windows): at BuildCookRun.ExecuteBuild() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 41
UATHelper: Packaging (Windows): at AutomationTool.BuildCommand.Execute() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 345
UATHelper: Packaging (Windows): at AutomationTool.BuildCommand.ExecuteAsync() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 354
UATHelper: Packaging (Windows): at AutomationTool.Automation.ExecuteAsync(List\
1 CommandsToExecute, Dictionary2 Commands) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 270
UATHelper: Packaging (Windows): at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet\
1 ScriptModuleAssemblies) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 164`
UATHelper: Packaging (Windows): (see C:\Users\kinze\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+UE_5.4\Log.txt for full exception trace)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 1s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error