LNK2001 error in Build when activating log for shipping

I wanted to build a VR project with logging enabled for a Win64 platform. The problem is that when i included the logging in the target.cs file, i get LNK2001 (external symbol not solved)with some external plugins that has its own log references:

Blockquote

UATHelper: Packaging (Windows (64-bit)):   Using 'git status' to determine working set for adaptive non-unity build (D:\Projetos\Imersys\imersys_engenharia-vr).
UATHelper: Packaging (Windows (64-bit)):   Writing manifest to D:\Projetos\Imersys\imersys_engenharia-vr\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows (64-bit)):   Building EngenhariaVR...
UATHelper: Packaging (Windows (64-bit)):   Using Visual Studio 2022 14.33.31629 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows (64-bit)):   Building 11 actions with 16 processes...
UATHelper: Packaging (Windows (64-bit)):     [1/11] ActorExtension.cpp
UATHelper: Packaging (Windows (64-bit)):     [2/11] AxisLockerComponent.cpp
UATHelper: Packaging (Windows (64-bit)):     [3/11] VRGameMode.cpp
UATHelper: Packaging (Windows (64-bit)):     [4/11] Module.OpenXRExpansionPlugin.cpp
UATHelper: Packaging (Windows (64-bit)):     [5/11] Module.AdvancedSessions.cpp
UATHelper: Packaging (Windows (64-bit)):     [6/11] Module.VRExpansionPlugin.1_of_4.cpp
UATHelper: Packaging (Windows (64-bit)):     [7/11] Module.VRExpansionPlugin.4_of_4.cpp
UATHelper: Packaging (Windows (64-bit)):     [8/11] Module.VRExpansionPlugin.3_of_4.cpp
UATHelper: Packaging (Windows (64-bit)):     [9/11] Module.VRExpansionPlugin.2_of_4.cpp
UATHelper: Packaging (Windows (64-bit)):     [10/11] EngenhariaVR-Win64-Shipping.exe
UATHelper: Packaging (Windows (64-bit)):        Criando biblioteca D:\Projetos\Imersys\imersys_engenharia-vr\Binaries\Win64\EngenhariaVR-Win64-Shipping.lib e objeto D:\Projetos\Imersys\imersys_engenharia-vr\Binaries\Win64\EngenhariaVR-Win64-Shipping.exp
UATHelper: Packaging (Windows (64-bit)):     Module.VRExpansionPlugin.1_of_4.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogType LogType" (?LogType@@3UFLogCategoryLogType@@A)
UATHelper: Packaging (Windows (64-bit)):     Module.VRExpansionPlugin.2_of_4.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogType LogType" (?LogType@@3UFLogCategoryLogType@@A)
UATHelper: Packaging (Windows (64-bit)):     Module.VRExpansionPlugin.3_of_4.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogType LogType" (?LogType@@3UFLogCategoryLogType@@A)
UATHelper: Packaging (Windows (64-bit)):     Module.OpenXRExpansionPlugin.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogType LogType" (?LogType@@3UFLogCategoryLogType@@A)
UATHelper: Packaging (Windows (64-bit)):     Module.VRExpansionPlugin.1_of_4.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogPhysics LogPhysics" (?LogPhysics@@3UFLogCategoryLogPhysics@@A)
UATHelper: Packaging (Windows (64-bit)):     Module.VRExpansionPlugin.3_of_4.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogRootMotion LogRootMotion" (?LogRootMotion@@3UFLogCategoryLogRootMotion@@A)
UATHelper: Packaging (Windows (64-bit)):     Module.VRExpansionPlugin.3_of_4.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogNetPlayerMovement LogNetPlayerMovement" (?LogNetPlayerMovement@@3UFLogCategoryLogNetPlayerMovement@@A)
UATHelper: Packaging (Windows (64-bit)):     Module.VRExpansionPlugin.4_of_4.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogTemp LogTemp" (?LogTemp@@3UFLogCategoryLogTemp@@A)
UATHelper: Packaging (Windows (64-bit)):     ActorExtension.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogTemp LogTemp" (?LogTemp@@3UFLogCategoryLogTemp@@A)
UATHelper: Packaging (Windows (64-bit)):     AxisLockerComponent.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogTemp LogTemp" (?LogTemp@@3UFLogCategoryLogTemp@@A)
UATHelper: Packaging (Windows (64-bit)):     VRGameMode.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogTemp LogTemp" (?LogTemp@@3UFLogCategoryLogTemp@@A)
UATHelper: Packaging (Windows (64-bit)):     Module.AdvancedSessions.cpp.obj : error LNK2001: s�mbolo externo n�o resolvido "struct FLogCategoryLogOnlineSession LogOnlineSession" (?LogOnlineSession@@3UFLogCategoryLogOnlineSession@@A)
UATHelper: Packaging (Windows (64-bit)):     D:\Projetos\Imersys\imersys_engenharia-vr\Binaries\Win64\EngenhariaVR-Win64-Shipping.exe : fatal error LNK1120: 6 externo n�o resolvidos
UATHelper: Packaging (Windows (64-bit)): Took 29,422532s to run UnrealBuildTool.exe, ExitCode=6

My target include these file:

bOverrideBuildEnvironment = true;
bUseLoggingInShipping = true;

I have some clues that this might indicate a linking problem with the plugin’s own log structure, but how do i proced to solve this?

Having the same issue. Anybody got any ideas? Driving me nuts.

Edit: Got it working: Unknown Package Error UE5.2

Same issue with UE 5.4 … I wonder if this is simply not working with the launcher installed engine?