# Packaging Error - Plug-in Issue

**URL:** <https://forums.unrealengine.com/t/packaging-error-plug-in-issue/2384648>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [March 11, 2025, 7:12am UTC](https://forums.unrealengine.com/t/packaging-error-plug-in-issue/2384648 "2025-03-11T07:12:21Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jcfalloon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jcfalloon](https://forums.unrealengine.com/u/Jcfalloon)\
**Post date:** [March 11, 2025, 7:12am UTC](https://forums.unrealengine.com/t/packaging-error-plug-in-issue/2384648/1 "2025-03-11T07:12:21Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [March 11, 2025, 9:10am UTC](https://forums.unrealengine.com/t/packaging-error-plug-in-issue/2384648/2 "2025-03-11T09:10:39Z")

</div>

> [@CompilerResultsLog: ERROR: Expecting to find a type to be declared in a module rules named 'AdvancedSessions'](https://forums.unrealengine.com/t/compilerresultslog-error-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named-advancedsessions/468583/2):
>
> Here is a workaround: Copy the plugin(s) from \<Engine Directory\>/Engine/Plugins/... to your project Plugins folder. It should pick the project plugin over the the engine plugin and compile it as normal. Source: [https://www.reddit.com/r/unrealengine/comments/hwhlut/4252\_hotfix\_released\_unreal\_engine\_forums/fz0bagb?utm\_source=share&utm\_medium=web2x](https://www.reddit.com/r/unrealengine/comments/hwhlut/4252_hotfix_released_unreal_engine_forums/fz0bagb?utm_source=share&utm_medium=web2x)

Try the same method just with your missing plugin

---

<div class="post-metadata">

**Author:** ![Jcfalloon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jcfalloon](https://forums.unrealengine.com/u/Jcfalloon)\
**Post date:** [March 13, 2025, 9:25am UTC](https://forums.unrealengine.com/t/packaging-error-plug-in-issue/2384648/3 "2025-03-13T09:25:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [March 13, 2025, 9:45am UTC](https://forums.unrealengine.com/t/packaging-error-plug-in-issue/2384648/4 "2025-03-13T09:45:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Jcfalloon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jcfalloon](https://forums.unrealengine.com/u/Jcfalloon)\
**Post date:** [March 13, 2025, 9:57am UTC](https://forums.unrealengine.com/t/packaging-error-plug-in-issue/2384648/5 "2025-03-13T09:57:38Z")

</div>

So, what would be the solution?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [March 13, 2025, 10:16am UTC](https://forums.unrealengine.com/t/packaging-error-plug-in-issue/2384648/6 "2025-03-13T10:16:02Z")

</div>

> [@Jcfalloon](#):
>
> Editor\VaRestEditor.Build.cs(7,9): error CS0111: Type ‘VaRestEditor’ already defines a member called ‘VaRestEditor’ with the same parameter types

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.

---

<div class="post-metadata">

**Author:** ![Jcfalloon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jcfalloon](https://forums.unrealengine.com/u/Jcfalloon)\
**Post date:** [March 13, 2025, 10:43am UTC](https://forums.unrealengine.com/t/packaging-error-plug-in-issue/2384648/7 "2025-03-13T10:43:52Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [March 13, 2025, 10:45am UTC](https://forums.unrealengine.com/t/packaging-error-plug-in-issue/2384648/8 "2025-03-13T10:45:27Z")

</div>

Delete the VaRest plugin from your project folder but you can keep the plugin enabled. It will use the engine’s version.
