It is correct in the sense that you literally cannot use this option with the binary engine, but I've fixed it not failing sooner.
Enabling bUseLoggingInShipping for a project prevents the project from being built for Shipping if the project includes replicated properties. This is only an issue with binary builds of the Engine. If the Engine was built from source code, the project will successfully build for Shipping.
UPROPERTY(EditAnywhere, BlueprintReadWrite, Replicated, Category = "Networking", meta = (ClampMin = "0", UIMin = "0")) float ControllerNetUpdateRate;
void AMyActor::GetLifetimeReplicatedProps(TArray< class FLifetimeProperty > & OutLifetimeProps) const { Super::GetLifetimeReplicatedProps(OutLifetimeProps); DOREPLIFETIME(AReplicationTest, ControllerNetUpdateRate); }
RESULT:
The build fails with the following linker error:
1>MyActor.cpp.obj : error LNK2001: unresolved external symbol "struct FLogCategoryLogType LogType" (?LogType@@3UFLogCategoryLogType@@A) 1>MyActor.gen.cpp.obj : error LNK2019: unresolved external symbol "struct FLogCategoryLogClass LogClass" (?LogClass@@3UFLogCategoryLogClass@@A) referenced in function "protected: void __cdecl TProperty_Numeric<float>::ConvertFromInt<__int64>(class FArchive &,void *,struct FPropertyTag const &)" (??$ConvertFromInt@_J@?$TProperty_Numeric@M@@IEAAXAEAVFArchive@@PEAXAEBUFPropertyTag@@@Z)
EXPECTED:
The build completes successfully.
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
Delay nodes occasionally don't fire the "Completed" output in a nativized build
How can i modify the param name in EQS node
Hey, why do i get this when i snap two similar meshes together?
How to achieve HLSL Multiple Render Target in Material blueprints?
Bullet replication problem. The players sees each other but does not see the bullet
What method is used to fill polygonal regions when drawing spline mesh at run time?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-56418 in the post.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.17.2, 4.18.3, 4.19 |
Target Fix | 4.20 |
Created | Mar 22, 2018 |
---|---|
Resolved | Mar 26, 2018 |
Updated | May 31, 2018 |