Commit Graph

154 Commits

Author SHA1 Message Date
louisphilippe seguin
8ead0e7c76 Added perf stats in FlushDormancy handlers
#rb trivial
#rnx


#ROBOMERGE-SOURCE: CL 9476824 via CL 9476828
#ROBOMERGE-BOT: (v508-9471939)

[CL 9476831 by louisphilippe seguin in Main branch]
2019-10-08 14:03:48 -04:00
Ryan Gerleve
25445e2948 Copying //UE4/Dev-Networking to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 9407021 by Ryan Gerleve in Main branch]
2019-10-03 18:10:17 -04:00
louisphilippe seguin
9b15fcfb28 Added log when RepGraph discovery budget is disabled
#rb trivial


#ROBOMERGE-SOURCE: CL 9199652 via CL 9199724
#ROBOMERGE-BOT: (v443-9013191)

[CL 9199772 by louisphilippe seguin in Main branch]
2019-09-27 09:30:11 -04:00
louisphilippe seguin
16132932a5 Limit connection view locations to HALF_WORLD bounds in the ReplicationGraph
#rb Ryan.Gerleve


#ROBOMERGE-SOURCE: CL 8484339 via CL 8493598
#ROBOMERGE-BOT: (v406-8472469)

[CL 8502252 by louisphilippe seguin in Main branch]
2019-09-05 04:30:53 -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
jon nabozny
d1a421760f Fix a bug where changing an Actor's Dormancy could add it back to the GridSpatialization2D node in RepGraph, even if it was explicitly removed.
[at]Ryan.Gerleve [at]LouisPhilippe.Seguin [at]Brian.Bekich
#rb Brian.Bekich


#ROBOMERGE-SOURCE: CL 8119515 via CL 8119830 via CL 8123251
#ROBOMERGE-BOT: (v401-8057353)

[CL 8124958 by jon nabozny in Main branch]
2019-08-20 10:02:10 -04:00
louisphilippe seguin
7bb52e7dfb Fix nullptr crash in RepGraph
#rb trivial
#rnx


#ROBOMERGE-SOURCE: CL 7463780 via CL 7468546
#ROBOMERGE-BOT: (v371-7306989)

[CL 7468693 by louisphilippe seguin in Main branch]
2019-07-20 02:37:59 -04:00
louisphilippe seguin
c0ec255655 RepGraph will now reflush DORM_Initial and non-netstartup actors when a client leaves and rejoins an island.
(Different fix for reverted cl 7461839)

[FYI] Ryan.Gerleve, Brian.Bekich, Bart.Hawthorne


#ROBOMERGE-SOURCE: CL 7462239 via CL 7467579
#ROBOMERGE-BOT: (v371-7306989)

[CL 7467762 by louisphilippe seguin in Main branch]
2019-07-20 02:23:20 -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
louisphilippe seguin
7e71bfb6d2 Replace MIN_FLT with actual smallest negative float -MAX_FLT
[FYI] Ryan.Gerleve, David.Ratti


#ROBOMERGE-SOURCE: CL 6933981 via CL 6933985 via CL 6934000 via CL 6934011 via CL 6943403
#ROBOMERGE-BOT: (v366-6836689)

[CL 6946153 by louisphilippe seguin in Main branch]
2019-06-11 21:18:44 -04:00
louisphilippe seguin
e6a805ddf8 Ensure a connection's PlayerController and current view target (pawn) are processed first in the RepGraph gather list.
#rb Ryan.Gerleve, David.Ratti
[FYI] Tim.Tillotson, Zak.Middleton



#ROBOMERGE-SOURCE: CL 6929140 via CL 6930216 via CL 6930293 via CL 6930360 via CL 6942922
#ROBOMERGE-BOT: (v366-6836689)

[CL 6943126 by louisphilippe seguin in Main branch]
2019-06-11 17:57:50 -04:00
jake leonard
038662915c Fix server crash due to LowestDistanceViewer being null when no viewers are close to an object that fell through the world.
#JIRA: FORT-180090
#rb: brian.bekich


#ROBOMERGE-SOURCE: CL 6742710 via CL 6758051
#ROBOMERGE-BOT: (v365-6733468)

[CL 6758301 by jake leonard in Main branch]
2019-05-31 18:57:44 -04:00
louisphilippe seguin
f54ab436a0 More logs and another tentative fix for Server Ensure in UReplicationGraph::ServerReplicateActors
* DependantActors are now checked to prevent being added twice in the dependant list.
* Added a specific ensure for DependantActors so it triggers before calling ReplicateActor on them.

#rnx
#rb Jon.Nabozny


#ROBOMERGE-SOURCE: CL 6533605 via CL 6534162

[CL 6534222 by louisphilippe seguin in Main branch]
2019-05-16 10:03:51 -04:00
brian bekich
257d72f9f8 Rep graph GC fixes
#ROBOMERGE-SOURCE: CL 6401799 via CL 6401802 via CL 6401803 via CL 6401804 via CL 6403798

[CL 6403906 by brian bekich in Main branch]
2019-05-09 16:24:26 -04:00
jon nabozny
d3cff2be85 Modify some sanity checks in RepGraph to allow RPCs for Actors that previously had channels that were closed (but not cleaned up).
Add a new ensure in the case where we try to reassign an Actor's channel when the existing channel is still valid.

[at]Brian.Bekich [at]Bart.Hawthorne
#rb Brian.Bekich


#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 6284700 via CL 6288387 via CL 6294272 via CL 6308962

[CL 6311035 by jon nabozny in Main branch]
2019-05-05 20:57:44 -04:00
jon nabozny
376a5926bd Add UNetConnection Saturation Analytics
[at]Bart.Hawthorne [at]Brian.Bekich
#rb Brian.Bekich, Bart.Hawthorne


#ROBOMERGE-SOURCE: CL 6278177 via CL 6278181 via CL 6278184 via CL 6287024

[CL 6287644 by jon nabozny in Main branch]
2019-05-03 17:46:15 -04:00
cajoebestrotheray
4506371e75 PR #5540: RepGraph: Fix stale actor channels not cleaning up (Contributed by cajoebestrotheray)
#jira UE-69855
#rb jon.nabozny

[CL 6274682 by Brian Bekich in Main branch]
2019-05-03 10:23:30 -04:00
louisphilippe seguin
8b9d551d98 Ignore FlushNetDormancy and DormancyChange for destroyed or about to be destroyed actors
#rb Jon.Nabozny
#rnx


#ROBOMERGE-SOURCE: CL 6258852 via CL 6259026 via CL 6259127 via CL 6271836

[CL 6271897 by louisphilippe seguin in Main branch]
2019-05-03 09:47:24 -04:00
bart hawthorne
6fa7cbd2c1 Improve a log message in UReplicationGraph::ProcessRemoteFunction when an actor is not valid for replication or is being destroyed.
#rb none


#ROBOMERGE-SOURCE: CL 6189954 via CL 6189957 via CL 6192416

[CL 6192511 by bart hawthorne in Main branch]
2019-05-01 14:52:07 -04:00
brian bekich
aeb876ca9c Add net.SkipReplicatorForDestructionInfos to avoid creation of FObjectReplicator for destruction infos
#rb ryan.gerleve


#ROBOMERGE-SOURCE: CL 6141385 via CL 6141386 via CL 6142262

[CL 6175911 by brian bekich in Main branch]
2019-04-30 11:49:05 -04:00
louisphilippe seguin
85d1295ab9 RepGraph
- Ignore Dormancy changes for actors not added to the RepGraph yet.  Their dormancy status will be checked when added as a network actor.


#rb Ryan.Gerleve
#rnx


#ROBOMERGE-SOURCE: CL 6105046 via CL 6105183 via CL 6105526

[CL 6105538 by louisphilippe seguin in Main branch]
2019-04-26 10:34:49 -04:00
louisphilippe seguin
4d23cd4fc7 Add ability to track in CSV the nb of connections who have a streaming level visible
#rnx
#rb Bart.Hawthorne, Jason.Adcock


#ROBOMERGE-SOURCE: CL 6095982 via CL 6097192

[CL 6097213 by louisphilippe seguin in Main branch]
2019-04-25 14:58:31 -04:00
louisphilippe seguin
55413d9703 Add conditions in log exposing why an actor is invalid for replication to help track FORT-152515
#rnx
#rb Jon.nabozny


#ROBOMERGE-SOURCE: CL 6081517 via CL 6081528 via CL 6087472

[CL 6087620 by louisphilippe seguin in Main branch]
2019-04-24 18:27:54 -04:00
drichardson
bff34f5830 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-SOURCE: CL 6055110 via CL 6055784

[CL 6055839 by louisphilippe seguin in Main branch]
2019-04-23 12:16:59 -04:00
jake leonard
739f5ea3fd Replication graph changes to allow for subconnection calculations as well, matching functionality of the netdriver system.
#rb: LouisPhilippe.Seguin, Jon.Nabozny


#ROBOMERGE-SOURCE: CL 5922969 via CL 5931747

[CL 5931993 by jake leonard in Main branch]
2019-04-16 19:16:18 -04:00