Download

[SOLVED] Unable to compile shipping build with logging in 4.17.2

If I add this below line to MyGameName.Target.cs and build as shipping then…


UEBuildConfiguration.bUseLoggingInShipping = true;

this error happens for a lot of files…
ExampleFile.gen.cpp.obj : error LNK2001: unresolved external symbol “struct FLogCategoryLogClass LogClass” (?LogClass@@3UFLogCategoryLogClass@@A)

So is there a way to enable logging for shipping build?

Answerhub link: https://answers.unrealengine.com/que…ging-in-4.html

Issue resolved in 4.18 P2 :slight_smile:

This issue seems to have come back as of 4.24