Jcfalloon
(Jcfalloon)
March 11, 2025, 7:12am
1
Hi,
When I try to package my game, it fails and gives me this error message:
UATHelper: Packaging (Windows): 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.
I believe that it is an issue to do with the Plug-in “HTTPJsonUtility”. What seems to be the problem here and how can I resolve this?
3dRaven
(3dRaven)
March 11, 2025, 9:10am
2
Try the same method just with your missing plugin
Jcfalloon
(Jcfalloon)
March 13, 2025, 9:25am
3
I copied over the plugin and it still refuses to package the game.
Here is the Output Log with the Unknown Error:
LogUObjectHash: Compacting FUObjectHashTables data took 2.94ms
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/WRANGLESNITCH_TYPE/WRANGLESNITCH_TYPE.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=52735 -project=“C:/Users/JCFal/OneDrive/Documents/Unreal Projects/WRANGLESNITCH_TYPE/WRANGLESNITCH_TYPE.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“C:/Users/JCFal/OneDrive/Documents/Unreal Projects/WRANGLESNITCH_TYPE/W
RANGLESNITCH_TYPE.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/Videos” -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/WRANGLESNITCH_TYPE/WRANGLESNITCH_TYPE.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=52735 -project=“C:/Users/JCFal/OneDrive/Documents/Unreal Projects/WRANGLESNITCH_TYPE/WRANGLESNITCH_TYPE.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“C:/Users/JCFal/OneDrive/Documents/Unreal Projects/WRANGLESNITCH_TYPE/WRANGLESNITCH_TYPE.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.4\Engin
e\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -package -build -clean -pak -iostore -compressed -prereqs -archivedirectory=C:/Users/JCFal/Videos -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.81 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\WRANGLESNITCH_TYPE\WRANGLESNITCH_TYPE.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” WRANGLESNITCH_TYPE Win64 Shipping -Project=“C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCH_TYPE\WRANGLESNITCH_TYPE.uproject” -Clean -NoHotReload “C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCH_TYPE\WRANGLESNITCH_TYPE.uproject” -NoUBTMakefiles -remoteini=“C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCH_TYPE” -skipd
eploy -log=“C:\Users\JCFal\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-WRANGLESNITCH_TYPE-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-WRANGLESNITCH_TYPE-Win64-Shipping.txt
UATHelper: Packaging (Windows): Cleaning WRANGLESNITCH_TYPE 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): Compiled assembly file ‘C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCH_TYPE\Intermediate\Build\BuildRules\WRANGLESNITCH_TYPEModuleRules.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\OneDrive\Documents\Unreal Projects\WRANGLESNITCH_TYPE\Intermediate\Build\BuildRules\WRANGLESNITCH_TYPEModuleRules.dll’. Format of the executable (.exe) or library (.dll) is invalid.)
UATHelper: Packaging (Windows): C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCH_TYPE\Plugins\VaRestRee7145bf0b1deV3\Source\VaRestEditor\VaRestEditor.Build.cs(5,14): error CS0101: The namespace ‘’ already contains a definition for ‘VaRestEditor’
UATHelper: Packaging (Windows): C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCH_TYPE\Plugins\VaRestRee7145bf0b1deV3\Source\VaRest\VaRest.Build.cs(7,15): error CS0101: The namespace ‘UnrealBuildTool.Rules’ already contains a definition for ‘VaRest’
UATHelper: Packaging (Windows): C:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCH_TYPE\Plugins\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:\Users\JCFal\OneDrive\Documents\Unreal Projects\WRANGLESNITCH_TYPE\Plugins\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): Expecting to find a type to be declared in a target rules named ‘WRANGLESNITCH_TYPETarget’. This type must derive from the ‘TargetRules’ type defined by UnrealBuildTool.
UATHelper: Packaging (Windows): Took 6.29s 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-WRANGLESNITCH_TYPE-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 14s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=8 (8)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error
3dRaven
(3dRaven)
March 13, 2025, 9:45am
4
The error implies that the plugin VaRestEditor is both in your project and in the engine causing conflicts.
You original post was regarding HTTPJsonUtility which is a different plugin.
Jcfalloon
(Jcfalloon)
March 13, 2025, 9:57am
5
So, what would be the solution?
3dRaven
(3dRaven)
March 13, 2025, 10:16am
6
No need to duplicate VaRest into the target project (just install it to the engine). It packs fine, just tested it out in a sample project in 5.4
If you are loading local json files inside of the project, then they won’t be copied over by default.
Jcfalloon
(Jcfalloon)
March 13, 2025, 10:43am
7
In that case, should I delete the VaRest Plugin file from my project file folder? And should I keep or uncheck the VaRest plugin from the project?
3dRaven
(3dRaven)
March 13, 2025, 10:45am
8
Delete the VaRest plugin from your project folder but you can keep the plugin enabled. It will use the engine’s version.