Files
UnrealEngineUWP/Engine/Plugins/Runtime/ReplicationGraph/Source/Private/ReplicationGraph.cpp
louisphilippe seguin 17a89ba38f Replication:
* Added optional config that will prevent Actors from replicating if they are not BeginPlay yet.
* Enabled via net.ReplicateOnlyBeginPlay
* The only exception is if a RPC is called on an actor before BeginPlay and opens the ActorChannel
    * When opening the channel to send the RPC, we need to serialize the actor to open the channel correctly.
    * Even if the actor is not begin play we will set up his components for replication and serialize him anyway.
    * Note that sending rpcs this early is not recommened if the BeginPlay on the authority sets replicated variables that the client needs in his BeginPlay too.

# Defaults to true in FortniteGame

#jira UE-160463, FORT-499928
#rb Brian.Bekich

[CL 21500389 by louisphilippe seguin in ue5-main branch]
2022-08-22 21:39:03 -04:00

239 KiB