Commit Graph

104 Commits

Author SHA1 Message Date
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
peter knepley
409a679b8a Get rid of force inline on UReplicationGraphNode_DynamicSpatialFrequency::CalcFrequencyForActor, blocks calling it from a child class
#jira

#ROBOMERGE-SOURCE: CL 12934538 via CL 12934550 via CL 12934609
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12934664 by peter knepley in Main branch]
2020-04-20 15:15:29 -04:00
brian bekich
7a7ba8b3be AddNetworkActor now checks the driver ShouldReplicateActor the way the network object list does
#rb ryan.gerleve

#ROBOMERGE-SOURCE: CL 12764357 via CL 12764394 via CL 12764400 via CL 12764407
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v678-12743200)

[CL 12764415 by brian bekich in Main branch]
2020-04-13 16:06:28 -04:00
brian bekich
2cf7c28b86 Adding option to use control channel for destruction infos (net.ControlChannelDestructionInfo, disabled by default)
#rb ryan.gerleve

#ROBOMERGE-OWNER: brian.bekich
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 12581815 via CL 12581817 via CL 12581904 via CL 12581932 via CL 12581943
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12581968 by brian bekich in Main branch]
2020-04-02 18:53:13 -04:00
jon nabozny
8d9878e1d8 Remove MaxArrayRepSize and MaxArrayRepMemory in favor of using UINT16_MAX everywhere.
[REVIEW] [at]Brian.Bekich, [at]Bart.Hawthorne


#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 12113573 via CL 12113575 via CL 12113576 via CL 12126498
#ROBOMERGE-BOT: (v659-12123632)

[CL 12126615 by jon nabozny in Main branch]
2020-03-11 10:50:17 -04:00
louisphilippe seguin
360eb422a6 Downgraded some spammy RepGraph logs from Log to Verbose
#rb trivial


#ROBOMERGE-SOURCE: CL 11942206 via CL 11944221 via CL 11944356 via CL 11944536
#ROBOMERGE-BOT: (v656-11643781)

[CL 11947196 by louisphilippe seguin in Main branch]
2020-03-05 13:50:34 -05:00
Ryan Gerleve
35e095a9d8 Copying //UE4/Dev-Networking @ CL 11201841 to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 11202190 by Ryan Gerleve in Main branch]
2020-01-31 18:46:22 -05:00
louisphilippe seguin
8620fb6e99 Fix ReplicationGraph ignoring traffic for the saturation calculations when ActorDiscoveryMaxBitsPerFrame is set to 0
This caused the ReplicationGraph to send more data than was budgeted by the MaxInternetClientRate

#rb [at]Ryan.Gerleve
[RN] minor engine/network


#ROBOMERGE-SOURCE: CL 11128671 via CL 11128676
#ROBOMERGE-BOT: (v640-11091645)

[CL 11128679 by louisphilippe seguin in Main branch]
2020-01-28 09:11:13 -05:00
louisphilippe seguin
9cde38b4b4 RepGraph
* When modifying the actor-specific cull distance we also need to modify all existing connection-specific cull distance settings.
* Created SetAllCullDistanceSettingsForActor utility function to be used for such scenarios.
* Multicast cull distance check will now use the connection cull distance setting

#rb Ryan.Gerleve, Jason.Adcock


#ROBOMERGE-SOURCE: CL 11033283 via CL 11033978 via CL 11034003
#ROBOMERGE-BOT: (v633-10983880)

[CL 11034032 by louisphilippe seguin in Main branch]
2020-01-16 14:59:36 -05:00
louisphilippe seguin
6a740ef60a Fix missing call to Teardown when removing ReplicationGraphConnection's
Improve cleanup of ReplicationGraphConnection in InitializeForWorld

#rb Bart.Hawthorne

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 10932609 via CL 10932610 via CL 10932611 via CL 10932612
#ROBOMERGE-BOT: NETWORKING (Main -> Dev-Networking) (v632-10940481)

[CL 10961394 by louisphilippe seguin in Dev-Networking branch]
2020-01-13 16:16:33 -05:00
louisphilippe seguin
c9e18d60d4 Fix missing call to Teardown when removing ReplicationGraphConnection's
Improve cleanup of ReplicationGraphConnection in InitializeForWorld

#rb Bart.Hawthorne


#ROBOMERGE-SOURCE: CL 10932609 via CL 10932610 via CL 10932611
#ROBOMERGE-BOT: (v626-10872990)

[CL 10932612 by louisphilippe seguin in Main branch]
2020-01-09 16:30:55 -05:00
louisphilippe seguin
61539c0140 Optimized RepGraph ReplicateDestructionInfos by not testing the destroyed actors list every frame
* Now testing if viewers are near destroyed objects only after they travel far enough from the previously tested location
* Set Net.RepGraph.OutOfRangeDistanceCheckRatio to 0 to disable the optim and test the Destroyed Actor List every frame.
* Saves 0.2ms per frame in the worst seen case

[RN] minor engine/network
#rb Ryan.Gerleve

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 10904656 via CL 10904662 via CL 10904665
#ROBOMERGE-BOT: NETWORKING (Main -> Dev-Networking) (v626-10872990)

[CL 10921395 by louisphilippe seguin in Dev-Networking branch]
2020-01-09 01:19:28 -05:00
louisphilippe seguin
470fe2b735 Optimized RepGraph ReplicateDestructionInfos by not testing the destroyed actors list every frame
* Now testing if viewers are near destroyed objects only after they travel far enough from the previously tested location
* Set Net.RepGraph.OutOfRangeDistanceCheckRatio to 0 to disable the optim and test the Destroyed Actor List every frame.
* Saves 0.2ms per frame in the worst seen case

[RN] minor engine/network
#rb Ryan.Gerleve


#ROBOMERGE-SOURCE: CL 10904656 via CL 10904662
#ROBOMERGE-BOT: (v626-10872990)

[CL 10904665 by louisphilippe seguin in Main branch]
2020-01-08 10:41:15 -05:00
marc audy
826320c88b Second batch of remaining Engine copyright updates.
#rnx
#rb none

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 10871248 in //UE4/Main/...
#ROBOMERGE-BOT: NETWORKING (Main -> Dev-Networking) (v624-10872983)

[CL 10874754 by marc audy in Dev-Networking branch]
2020-01-03 09:55:36 -05:00
Marc Audy
360d078ca3 Second batch of remaining Engine copyright updates.
#rnx
#rb none

[CL 10871248 by Marc Audy in Main branch]
2019-12-27 09:26:59 -05:00
louisphilippe seguin
ae62f0be81 Repgraph
* For AlwaysRelevant actors we will now always send the DestructionInfo to connections that knew of this actor.
* Added a flag to FActorDestructionInfo that ignores the distance culling test.

[RN] minor engine/network
#rb Ryan.Gerleve

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 10802164 via CL 10802173 via CL 10802516 via CL 10802550 via CL 10802580 via CL 10802634
#ROBOMERGE-BOT: NETWORKING (Main -> Dev-Networking) (v610-10636431)

[CL 10837450 by louisphilippe seguin in Dev-Networking branch]
2019-12-19 18:07:54 -05:00
louisphilippe seguin
1bcd87f5be Repgraph
* For AlwaysRelevant actors we will now always send the DestructionInfo to connections that knew of this actor.
* Added a flag to FActorDestructionInfo that ignores the distance culling test.

[RN] minor engine/network
#rb Ryan.Gerleve


#ROBOMERGE-SOURCE: CL 10802164 via CL 10802173 via CL 10802516 via CL 10802550 via CL 10802580
#ROBOMERGE-BOT: (v610-10636431)

[CL 10802634 by louisphilippe seguin in Main branch]
2019-12-18 16:13:37 -05:00
zzgyy123
890ec7731e ReplicationGraph
* Upgrade ReplicationPeriodFrame to uint16 to fix overflow error when the NetUpdateFrequency is very low

PR #6330: Fix bug about implict cast of ReplicationPeriodFrame from uint32 to uin8. (Contributed by zzgyy123)
#jira UE-83117
#rb Jake.Leonard

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 10451981 via CL 10451994 via CL 10452496
#ROBOMERGE-BOT: NETWORKING (Main -> Dev-Networking) (v606-10482310)

[CL 10530240 by louisphilippe seguin in Dev-Networking branch]
2019-12-05 12:48:44 -05:00
zzgyy123
442d0effac ReplicationGraph
* Upgrade ReplicationPeriodFrame to uint16 to fix overflow error when the NetUpdateFrequency is very low

PR #6330: Fix bug about implict cast of ReplicationPeriodFrame from uint32 to uin8. (Contributed by zzgyy123)
#jira UE-83117
#rb Jake.Leonard


#ROBOMERGE-SOURCE: CL 10451981 via CL 10451994
#ROBOMERGE-BOT: (v595-10452236)

[CL 10452496 by louisphilippe seguin in Main branch]
2019-11-26 10:14:18 -05:00
louisphilippe seguin
34ae8afd74 Downgrade RepGraph warning in FindOrAddConnectionManager to verbose.
#rnx
#rb Jake.Leonard


#ROBOMERGE-SOURCE: CL 9880456 via CL 9880534 via CL 9880558
#ROBOMERGE-BOT: (v553-9872581)

[CL 9880608 by louisphilippe seguin in Main branch]
2019-10-29 10:04:40 -04:00
brian bekich
fe3bb27e2f Add role swapping to fast shared path
#rb ryan.gerleve


#ROBOMERGE-SOURCE: CL 9875434 via CL 9875436 via CL 9875440
#ROBOMERGE-BOT: (v553-9872581)

[CL 9875823 by brian bekich in Main branch]
2019-10-28 18:40:25 -04:00
brian bekich
999b07d8c4 Adding option to swap roles when replicating actor properties
#rb ryan.gerleve


#ROBOMERGE-SOURCE: CL 9739359 via CL 9739362 via CL 9739365
#ROBOMERGE-BOT: (v542-9736015)

[CL 9739366 by brian bekich in Main branch]
2019-10-21 20:02:40 -04:00
louisphilippe seguin
8a5a5bd81f Fix UReplicationGraphNode_DynamicSpatialFrequency::CalcFrequencyForActor sometimes not finding valid zones due to unclamped dot product.
[REVIEW] [at]Ryan.Gerleve
#rnx


#ROBOMERGE-SOURCE: CL 9492156 via CL 9492162
#ROBOMERGE-BOT: (v519-9489664)

[CL 9492164 by louisphilippe seguin in Main branch]
2019-10-09 15:17:28 -04:00