Can not build plugin

My Project has one game and one game-plugin, and the Game use game-plugin API.(statically link)

also Game-plugin is game plugin.(not editor plugin)

I think this problem occurred, because Game-plugin has some editor modules.

I want to build Project in DebugGame Mode NOT Editor Mode.

Plugin has next modules:

(below codes will help your understanding)

PrivateDependencyModuleName.AddRange
(
{
"CoreUObject", "Engine", "InputCore", "SlateCore", "Slate", "UMG", "MainFrame", "DesktopPlateform"
}
);

if (UEBuildConfiguration.bEuildEditor == true)
{
PublicDependencyModuleName.AddRange(
{
"UnrealEd", "PropertyEditor", "Kismet", "Projects", "LevelEditor"
}
);
}

Build Error Content:
LINK : fatal error LNK1181: ‘HACD_64.lib’

I wonder that how to success Debug Game Builder.

thank your help :slight_smile:

have a nice day.

“CoreUObject”, “Engine”, “InputCore”, “SlateCore”, Slate", “UMG”, “MainFrame”, “DesktopPlateform”

You missed a quotation in Slate

Thank you. But A quotation is not key that is to solve. I miss out quotation on question. it was my mistake, sorry about that.

Hello,

From what I’ve seen before, the error that you’re receiving, Build Error Content: LINK : fatal error LNK1181: ‘HACD_64.lib’, is caused by including Engine-Only modules that can’t be included in packaged games. The one that stands out the most is UnrealEd but you do have that under the Editor build only section. I would try taking out MainFrame or DesktopPlatform and see if it’ll build correctly.

Oh!! Thank you. I succeeded in build.