Commit Graph

39 Commits

Author SHA1 Message Date
Zousar Shaker
3b4c8fc1c5 Automated wrapped object pointer upgrade for Engine + ShooterGame + ShooterGame referenced plugins
#rb none

[CL 15224650 by Zousar Shaker in ue5-main branch]
2021-01-27 17:40:25 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
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
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
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
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
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
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
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
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
262acf7a6a - Net.RepGraph.PrintCullDistances will now work without a RepGraphDebugActor
- Added Net.RepGraph.PrintCullDistancesForConnection which outputs also the connection specific cull distance (uses the  RepGraphDebugActor)
- Added DO_ENABLE_REPGRAPH_DEBUG_ACTOR instead of hardcoded build defines to easily add the RepGraphDebugActor

#rb [at]ryan.gerleve
[FYI] Tim.Tillotson


#ROBOMERGE-SOURCE: CL 8296006 via CL 8354853
#ROBOMERGE-BOT: (v401-8057353)

[CL 8355002 by louisphilippe seguin in Main branch]
2019-08-27 17:30:29 -04:00
louisphilippe seguin
2164f30181 -Now cleaning the destroyed nodes in the ReplicationGraph's AllChildNodes array after a spatial rebuild event
-Now cleaning the AllChilldNode in TearDown
-Using RemoveSingleSwap to speed up some TArray item removal operations in the RepGraph
-Added option to keep node order intact when removing destroyed nodes

#rb Ryan.Gerleve, Brian.Bekich
[RN] engine/network


#ROBOMERGE-SOURCE: CL 7226858 via CL 7227169
#ROBOMERGE-BOT: (v367-6836689)

[CL 7227176 by louisphilippe seguin in Main branch]
2019-07-08 09:43:16 -04:00
jon nabozny
1ffd18b98b Fix comment on TearOff RepGraph Node.
#rb Trivial
[CODEREVIEW] Trivial


#ROBOMERGE-SOURCE: CL 6897674 via CL 6897675 via CL 6905797
#ROBOMERGE-BOT: (v366-6836689)

[CL 6907926 by jon nabozny in Main branch]
2019-06-09 12:57:48 -04:00
brian bekich
cbf2363e94 Rep graph GC fixes
#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 6401799 via CL 6401802 via CL 6401803 via CL 6401804 via CL 6403798 via CL 6403906
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 6490024 by brian bekich in Dev-Networking branch]
2019-05-15 13:13:22 -04:00
jon nabozny
e461e8e68d Fix missing files.
#rnx

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 6278229 via CL 6278233 via CL 6278236 via CL 6287162 via CL 6287785
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 6306534 by jon nabozny in Dev-Networking branch]
2019-05-03 21:38:19 -04:00
drichardson
a504ca884e PR #5705: Correct Typo: Dormany => Dormancy (Contributed by drichardson)
Renamed UReplicationGraphNode_ConnectionDormanyNode to UReplicationGraphNode_ConnectionDormancyNode to correct the typo in name

[RN] deprecation Engine/Network

#jira UE-72706
#rb Ryan.Gerleve, Jake.Leonard


#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 6055110 via CL 6055784 via CL 6055839
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 6147801 by louisphilippe seguin in Dev-Networking branch]
2019-04-29 18:27:47 -04:00
Jake Leonard
12b37baab1 Replication graph changes to allow for subconnection calculations as well, matching functionality of the netdriver system.
#JIRA: FORT-150690, UE-72886
#rb: LouisPhilippe.Seguin, Jon.Nabozny

[CL 5952279 by Jake Leonard in Dev-Networking branch]
2019-04-17 14:20:59 -04:00
jake leonard
91e5546d39 Replication graph changes to allow for subconnection calculations as well, matching functionality of the netdriver system.
#rb: LouisPhilippe.Seguin, Jon.Nabozny

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: jake.leonard
#ROBOMERGE-SOURCE: CL 5922969 via CL 5931747 via CL 5931993
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5942365 by jake leonard in Dev-Networking branch]
2019-04-17 13:24:49 -04:00
louisphilippe seguin
7244f24be0 Optimized the DormantDynamicActorsDestruction feature by not creating ConnectionDormancyNodes for cells the client never visited.
#rb Ryan.Gerleve, Brian.Bekich

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 5794305 via CL 5794306 via CL 5794307 via CL 5794721 via CL 5794738
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5802168 by louisphilippe seguin in Dev-Networking branch]
2019-04-08 21:05:50 -04:00
louisphilippe seguin
8463b9553d -Now caching CullDistance and CullDistanceSquared in ConnectionReplicationActorInfo
-Removes sqrt call in critical path when RepGraph does actor culling.

#rb Ryan.Gerleve

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 5764309 via CL 5764873 via CL 5764954
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5782762 by louisphilippe seguin in Dev-Networking branch]
2019-04-08 13:33:31 -04:00
louisphilippe seguin
f2110df4f0 Keep the access specifiers of UNetReplicationGraphConnection virtual functions inherited from UReplicationConnectionDriver public.
#rb Ryan.Gerleve

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 5763208 via CL 5763803 via CL 5763850
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5782473 by louisphilippe seguin in Dev-Networking branch]
2019-04-08 13:31:52 -04:00
louisphilippe seguin
369d82c3d6 Added ability to limit the spatialization 2D grid to a specific region via SetBiasAndGridBounds
-When the optional grid bound is set we clamp player view locations to the closest grid in the bounded region instead of growing the grid list to his location.
-When adding actors we limit the available cells to coordinates inside the region.

#rb Ryan.Gerleve

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 5649386 via CL 5651161 via CL 5651324
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5663354 by louisphilippe seguin in Dev-Networking branch]
2019-04-01 09:05:39 -04:00
louisphilippe seguin
61bceca46f -Split off Actor Discovery traffic into it's own bucket for csv performance reports
-Added RemoveChildNode function to ReplicationGraph
-Add ensureMsg to help track DataChannels crashing due to null actor ptrs in FORT-157380

#rb Ryan.Gerleve, Bart.Hawthorne

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 5471101 via CL 5479098 via CL 5479188
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5506003 by louisphilippe seguin in Dev-Networking branch]
2019-03-22 17:02:53 -04:00