Commit Graph

143 Commits

Author SHA1 Message Date
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
louisphilippe seguin
ec0b7a7a4d Optimized the DormantDynamicActorsDestruction feature by not creating ConnectionDormancyNodes for cells the client never visited.
#rb Ryan.Gerleve, Brian.Bekich


#ROBOMERGE-SOURCE: CL 5794305 via CL 5794306 via CL 5794307 via CL 5794721

[CL 5794738 by louisphilippe seguin in Main branch]
2019-04-08 16:20:10 -04:00
louisphilippe seguin
f8e9623b7a -Now caching CullDistance and CullDistanceSquared in ConnectionReplicationActorInfo
-Removes sqrt call in critical path when RepGraph does actor culling.

#rb Ryan.Gerleve


#ROBOMERGE-SOURCE: CL 5764309 via CL 5764873

[CL 5764954 by louisphilippe seguin in Main branch]
2019-04-05 11:18:24 -04:00
louisphilippe seguin
26d8966c85 -The RepGraph forced a garbage collection when rebuilding a GridSpace. This will now be done at the end of frame instead of in the tick.
-This forced GC will only trigger if more than 100 cells were destroyed.

#rb Ryan.Gerleve


#ROBOMERGE-SOURCE: CL 5675634 via CL 5675635 via CL 5675636 via CL 5675637 via CL 5677067

[CL 5677098 by louisphilippe seguin in Main branch]
2019-04-01 19:27:39 -04:00
jon nabozny
c3e005d6c8 Fix CIS warning V595 in RepGraph from dereferencing an actor before null check.
[at]Ryan.Gerleve [at]Brian.Bekich
#jira UE-72167
#rb Ryan.Gerleve


#ROBOMERGE-SOURCE: CL 5675581 via CL 5675586 via CL 5675587 via CL 5675589 via CL 5676942

[CL 5676951 by jon nabozny in Main branch]
2019-04-01 19:09:10 -04:00
louisphilippe seguin
4fcc37c341 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-SOURCE: CL 5649386 via CL 5651161

[CL 5651324 by louisphilippe seguin in Main branch]
2019-03-29 16:26:25 -04:00
jon nabozny
db986f4480 Prevent RepGraph from trying to replicate invalid actors.
[at]Ryan.Gerleve [at]Brian.Bekich
#rb Brian.Bekich


#ROBOMERGE-SOURCE: CL 5503884 via CL 5503888 via CL 5517394

[CL 5535625 by jon nabozny in Main branch]
2019-03-25 13:56:49 -04:00
louisphilippe seguin
981884ff1e -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-SOURCE: CL 5471101 via CL 5479098

[CL 5479188 by louisphilippe seguin in Main branch]
2019-03-20 13:45:09 -04:00
brian bekich
fbe3ed4517 Stop using a static variable to hold the time left until the next tick
#rnx
#rb ryan.gerleve


#ROBOMERGE-SOURCE: CL 5429374 via CL 5430340 via CL 5433503

[CL 5433572 by brian bekich in Main branch]
2019-03-18 13:29:22 -04:00
brian bekich
4045579a9a Additional tracking for dependent actors so they can always be cleaned up when removed from the rep graph
#rb ryan.gerleve, jon.nabozny


#ROBOMERGE-SOURCE: CL 5188824 via CL 5188825 via CL 5189139

[CL 5189155 by brian bekich in Main branch]
2019-02-25 18:28:14 -05:00
jon nabozny
3dc8dcbbe6 Try to catch edge cases for Adding and Removing channels in RepGraph when we may have the updated channels for the same actor.
[at]Ryan.Gerleve [at]Brian.Bekich [at]Bart.Hawthorne
#rb Brian.Bekich, Ryan.Gerleve


#ROBOMERGE-SOURCE: CL 5152849 via CL 5152867 via CL 5152876 via CL 5154257

[CL 5154320 by jon nabozny in Main branch]
2019-02-22 16:37:42 -05:00
louisphilippe seguin
8c487d02fa Include all traffic 'til the ActorSpawn was ackknowledged in the RepGraph's separate actor discovery budget
#rb ryan.gerleve


#ROBOMERGE-SOURCE: CL 5117170 via CL 5118098 via CL 5118141 via CL 5119327

[CL 5119549 by louisphilippe seguin in Main branch]
2019-02-21 19:31:45 -05:00