Hello, the HttpServer Module seems to be missing when packaging my 4.26 source build - but not when compiling.
I think I should be able to package a game in Windows and Linux that uses this class: https://docs.unrealengine.com/en-US/…ver/index.html
I am using this guide to do the packaging: https://docs.unrealengine.com/en-US/…ers/index.html
I’m using the module like this:
PrivateDependencyModuleNames.AddRange(new string] { “CoreUObject”, “Engine”, “Slate”, “SlateCore”, “HTTP”, “HttpServer”, “JsonUtilities”, “Json”, “UMG”, } );
VS2017 compiles and runs it in the editor. I don’t see runtime errors.
When I go to File->Package Project->Windows (64 bit), I get this error:
ERROR: Expecting to find a type to be declared in a module rules named ‘HttpServer’ in UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type defined by Unreal Build Tool.
PackagingResults: Error: Expecting to find a type to be declared in a module rules named ‘HttpServer’ in UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type defined by Unreal Build Tool.
In the Output Log, if I type cmd “module list”, I do not see HttpServer in the listed modules. Only HTTP: HTTP [File: …/…/…/Engine/Binaries/Win64/UE4Editor-HTTP.dll] [Loaded: Yes]
What am I missing?
Thank you!
EDIT: Changing HttpServer -> HTTPServer seems to have fixed it. I think the docs show the wrong module name.