I’m struggling to package my game project (Windows). I keep getting this error message in my Output Log. Can someone please advise me how to fix it, so that I can package my game?
LogUObjectHash: Compacting FUObjectHashTables data took 1.04ms
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““C:/Program Files/Epic Games/UE_5.4/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“C:/Users/JCFal/OneDrive/Documents/Unreal Projects/WRANGLESNITCHROBBERY/WRANGLESNITCHROBBERY.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=64796 -project=“C:/Users/JCFal/OneDrive/Documents/Unreal Projects/WRANGLESNITCHROBBERY/WRANGLESNITCHROBBERY.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“C:/Users/JCFal/OneDrive/Documents/Unreal Projects/WRANGLESNITC
HROBBERY/WRANGLESNITCHROBBERY.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -package -build -clean -pak -iostore -compressed -prereqs -archivedirectory=“C:/Users/JCFal/OneDrive/Documents” -clientconfig=Shipping -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=“C:/Users/JCFal/OneDrive/Documents/Unreal Projects/WRANGLESNITCHROBBERY/WRANGLESNITCHROBBERY.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=64796 -project=“C:/Users/JCFal/OneDrive/Documents/Unreal Projects/WRANGLESNITCHROBBERY/WRANGLESNITCHROBBERY.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“C:/Users/JCFal/OneDrive/Documents/Unreal Projects/WRANGLESNITCHROBBERY/WRANGLESNITCHROBBERY.uproject” -unrealexe=“C:\Program Files\Epic Games
UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -package -build -clean -pak -iostore -compressed -prereqs -archivedirectory=C:/Users/JCFal/OneDrive/Documents -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.48 s.
UATHelper: Packaging (Windows): Using C:\Program Files\Microsoft Visual Studio\2022\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.26100.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 C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBBERY\WRANGLESNITCHROBBERY.uproject
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “C:\Program Files\Epic Games\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” WRANGLESNITCHROBBERY Win64 Shipping -Project=“C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBBERY\WRANGLESNITCHROBBERY.uproject” -Clean -NoHotReload “C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBBERY\WRANGLESNITCHROBBERY.uproject” -NoUBTMakefiles -remoteini=“C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBB
ERY” -skipdeploy -log=“C:\Users\JCFal\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-WRANGLESNITCHROBBERY-Win64-Shipping.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\JCFal\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-WRANGLESNITCHROBBERY-Win64-Shipping.txt
UATHelper: Packaging (Windows): Cleaning WRANGLESNITCHROBBERY binaries…
UATHelper: Packaging (Windows): Compiled assembly file ‘C:\Users\JCFal\AppData\Local\UnrealEngine\Intermediate\Build\BuildRules\MarketplaceRules.dll’ appears to be for a newer CLR version or is otherwise invalid. Unreal Build Tool will try to recompile this assembly now. (Exception: Could not load file or assembly ‘C:\Users\JCFal\AppData\Local\UnrealEngine\Intermediate\Build\BuildRules\MarketplaceRules.dll’. Format of the executable (.exe) or library (.dll) is invalid.)
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.4\Engine\Plugins\Marketplace\VaRestRee7145bf0b1deV3\Source\VaRestEditor\VaRestEditor.Build.cs(5,14): error CS0101: The namespace ‘’ already contains a definition for ‘VaRestEditor’
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.4\Engine\Plugins\Marketplace\VaRestRee7145bf0b1deV3\Source\VaRest\VaRest.Build.cs(7,15): error CS0101: The namespace ‘UnrealBuildTool.Rules’ already contains a definition for ‘VaRest’
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.4\Engine\Plugins\Marketplace\VaRestRee7145bf0b1deV3\Source\VaRestEditor\VaRestEditor.Build.cs(7,9): error CS0111: Type ‘VaRestEditor’ already defines a member called ‘VaRestEditor’ with the same parameter types
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.4\Engine\Plugins\Marketplace\VaRestRee7145bf0b1deV3\Source\VaRest\VaRest.Build.cs(9,10): error CS0111: Type ‘VaRest’ already defines a member called ‘VaRest’ with the same parameter types
UATHelper: Packaging (Windows): Errors generated while parsing ‘C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBBERY\Source\WRANGLESNITCHROBBERY\WRANGLESNITCHROBBERY.Build.cs’
UATHelper: Packaging (Windows): C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBBERY\Source\WRANGLESNITCHROBBERY\WRANGLESNITCHROBBERY.Build.cs(1,1): error CS1056: Unexpected character ‘' UATHelper: Packaging (Windows): C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBBERY\Source\WRANGLESNITCHROBBERY\WRANGLESNITCHROBBERY.Build.cs(1,2): error CS1056: Unexpected character '’
UATHelper: Packaging (Windows): C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBBERY\Source\WRANGLESNITCHROBBERY\WRANGLESNITCHROBBERY.Build.cs(1,3): error CS1056: Unexpected character ‘' UATHelper: Packaging (Windows): C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBBERY\Source\WRANGLESNITCHROBBERY\WRANGLESNITCHROBBERY.Build.cs(1,4): error CS0116: A namespace cannot directly contain members such as fields, methods or statements UATHelper: Packaging (Windows): C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBBERY\Source\WRANGLESNITCHROBBERY\WRANGLESNITCHROBBERY.Build.cs(23,1): error CS1056: Unexpected character '’
UATHelper: Packaging (Windows): C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBBERY\Source\WRANGLESNITCHROBBERY\WRANGLESNITCHROBBERY.Build.cs(23,2): error CS1056: Unexpected character ‘' UATHelper: Packaging (Windows): C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCHROBBERY\Source\WRANGLESNITCHROBBERY\WRANGLESNITCHROBBERY.Build.cs(23,3): error CS1056: Unexpected character '’
UATHelper: Packaging (Windows): Expecting to find a type to be declared in a target rules named ‘WRANGLESNITCHROBBERYTarget’. This type must derive from the ‘TargetRules’ type defined by UnrealBuildTool.
UATHelper: Packaging (Windows): Took 4.16s to run dotnet.exe, ExitCode=8
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\JCFal\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-WRANGLESNITCHROBBERY-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 13s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=8 (8)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error
In most cases, yes. If you’re unsure about deleting those files, you can always copy them first and later paste them if needed. In reality, you probably won’t have to do that. If you Google this issue, you’ll likely find that people recommend the same approach.
Expecting to find a type to be declared in a module rules named ‘HTTPJsonUtility’ in ‘Unknown Assembly’. This type must derive from the ‘ModuleRules’ type defined by UnrealBuildTool.
Please can you advise what I can do to correct this?
LogTurnkeySupport: Project requires temp target (HTTPJsonUtility plugin is enabled)
[/quote]
I’ve watched your log, looks like this could maybe be your problem, but I’m unsure. Looks like you need a temp folder for a plugin or something. I have no idea what you have stumbled upon so I wont be able to help more than this. Hope you find a solution.
Yes, the HTTPJsonUtility plugin seems not to be saved to the game file. How do I create a folder for this particular plugin, so that the packaging recognises it?