net.ValidateReplicatedPropertyRegistration
net.ValidateReplicatedPropertyRegistration
#Overview
name: net.ValidateReplicatedPropertyRegistration
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Warns if replicated properties were not registered in GetLifetimeReplicatedProps.
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp:4915
Scope: file
Source code excerpt:
#endif
static FAutoConsoleVariable CVarValidateReplicatedPropertyRegistration(TEXT("net.ValidateReplicatedPropertyRegistration"), GValidateReplicatedProperties, TEXT("Warns if replicated properties were not registered in GetLifetimeReplicatedProps."));
void UClass::SetUpRuntimeReplicationData()
{
if (!HasAnyClassFlags(CLASS_ReplicationDataIsSetUp))
{
NetFields.Empty();