Commit Graph

29 Commits

Author SHA1 Message Date
louisphilippe seguin
1798eec470 Add ability to track in CSV the nb of connections who have a streaming level visible
#rnx
#rb Bart.Hawthorne, Jason.Adcock

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 6095982 via CL 6097192 via CL 6097213
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 6128786 by louisphilippe seguin in Dev-VR branch]
2019-04-26 22:25:17 -04:00
louisphilippe seguin
670b6339fe Add conditions in log exposing why an actor is invalid for replication to help track FORT-152515
#rnx
#rb Jon.nabozny

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 6081517 via CL 6081528 via CL 6087472 via CL 6087620
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 6117990 by louisphilippe seguin in Dev-VR branch]
2019-04-26 21:16:30 -04:00
drichardson
f80e85b909 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.vance
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 6055110 via CL 6055784 via CL 6055839
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 6063983 by louisphilippe seguin in Dev-VR branch]
2019-04-23 17:11:51 -04:00
jake leonard
421ba6b76c Replication graph changes to allow for subconnection calculations as well, matching functionality of the netdriver system.
#rb: LouisPhilippe.Seguin, Jon.Nabozny

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: jake.leonard
#ROBOMERGE-SOURCE: CL 5922969 via CL 5931747 via CL 5931993
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5940444 by jake leonard in Dev-VR branch]
2019-04-17 13:17:48 -04:00
louisphilippe seguin
282c5b25f5 Optimized the DormantDynamicActorsDestruction feature by not creating ConnectionDormancyNodes for cells the client never visited.
#rb Ryan.Gerleve, Brian.Bekich

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

[CL 5801234 by louisphilippe seguin in Dev-VR branch]
2019-04-08 21:01:18 -04:00
louisphilippe seguin
190009589b -Now caching CullDistance and CullDistanceSquared in ConnectionReplicationActorInfo
-Removes sqrt call in critical path when RepGraph does actor culling.

#rb Ryan.Gerleve

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 5764309 via CL 5764873 via CL 5764954
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5779010 by louisphilippe seguin in Dev-VR branch]
2019-04-08 13:17:23 -04:00
louisphilippe seguin
23f8a9a54f -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-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 5675634 via CL 5675635 via CL 5675636 via CL 5675637 via CL 5677067 via CL 5677098
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5681229 by louisphilippe seguin in Dev-VR branch]
2019-04-01 21:20:55 -04:00
jon nabozny
cc99b2ce00 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-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 5675581 via CL 5675586 via CL 5675587 via CL 5675589 via CL 5676942 via CL 5676951
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5680990 by jon nabozny in Dev-VR branch]
2019-04-01 21:18:08 -04:00
louisphilippe seguin
a857a7dee4 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.vance
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 5649386 via CL 5651161 via CL 5651324
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5662427 by louisphilippe seguin in Dev-VR branch]
2019-04-01 09:01:13 -04:00
jon nabozny
48d8b884e8 Prevent RepGraph from trying to replicate invalid actors.
[at]Ryan.Gerleve [at]Brian.Bekich
#rb Brian.Bekich

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 5503884 via CL 5503888 via CL 5517394 via CL 5535625
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5540575 by jon nabozny in Dev-VR branch]
2019-03-25 17:05:55 -04:00
louisphilippe seguin
2456c4e1e9 -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.vance
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 5471101 via CL 5479098 via CL 5479188
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5506509 by louisphilippe seguin in Dev-VR branch]
2019-03-22 17:06:03 -04:00
brian bekich
e141b567cf Stop using a static variable to hold the time left until the next tick
#rnx
#rb ryan.gerleve

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 5429374 via CL 5430340 via CL 5433503 via CL 5433572
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5437251 by brian bekich in Dev-VR branch]
2019-03-18 17:25:10 -04:00
brian bekich
6743b7218b Additional tracking for dependent actors so they can always be cleaned up when removed from the rep graph
#rb ryan.gerleve, jon.nabozny

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 5188824 via CL 5188825 via CL 5189139 via CL 5189155
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5222785 by brian bekich in Dev-VR branch]
2019-02-26 22:00:15 -05:00
jon nabozny
1ba2139c9c 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-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 5152849 via CL 5152867 via CL 5152876 via CL 5154257 via CL 5154320
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5217836 by jon nabozny in Dev-VR branch]
2019-02-26 20:30:26 -05:00
louisphilippe seguin
097b0b7416 Include all traffic 'til the ActorSpawn was ackknowledged in the RepGraph's separate actor discovery budget
#rb ryan.gerleve

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 5117170 via CL 5118098 via CL 5118141 via CL 5119327 via CL 5119549
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5215354 by louisphilippe seguin in Dev-VR branch]
2019-02-26 19:30:54 -05:00
ryan gerleve
f387394a89 Clamp actor locations in UReplicationGraphNode_GridSpatialization2D::GetCellInfoForActor to the world maximum size in case we get bad values and try to allocate a massive grid later on in UReplicationGraphNode_GridSpatialization2D::GetGridNodesForActor.
[REVIEW]

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: ryan.gerleve
#ROBOMERGE-SOURCE: CL 5086556 via CL 5086603 via CL 5086605 via CL 5086912 via CL 5089580
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5208852 by ryan gerleve in Dev-VR branch]
2019-02-26 16:59:10 -05:00
louisphilippe seguin
f9ef8824e1 Added optional budget in the RepGraph for data sent when a new ActorChannel is created on a connection. Can be used to improve actor discovery time when loading into a level with alot of dynamic actors packed into a single grid.
#rb ryan.gerleve

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 5063181 via CL 5063878 via CL 5065895
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5139502 by louisphilippe seguin in Dev-VR branch]
2019-02-22 05:56:53 -05:00
mike fricker
b4a1cd22b9 Creative: Prioritize fix for special case (from Josh May)
#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: mike.fricker
#ROBOMERGE-SOURCE: CL 5035570 via CL 5035571 via CL 5035572 via CL 5035592 via CL 5041876
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5131137 by mike fricker in Dev-VR branch]
2019-02-22 02:24:40 -05:00
brian bekich
df9596145b Prevent crash if an unexpected rpc is called while preparing a fast shared bunch
#rb ryan.gerleve

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 4950012 via CL 4952135 via CL 4954330
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5027763 by brian bekich in Dev-VR branch]
2019-02-16 04:06:24 -05:00
ryan gerleve
4be5fc6d37 Quick improvements to RepGraph actor prioritization:
-Always prioritize connections' ViewTargets and OwningActors, since they're usually the most important and could get starved out by other actors.
-Increase the default MaxDistanceScaling from 30m to 600m, since 30m didn't have much effect.

#rb brian.bekich, david.ratti

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: ryan.gerleve
#ROBOMERGE-SOURCE: CL 4921040 via CL 4921042 via CL 4921044 via CL 4921247 via CL 4926818 via CL 4927017
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5018242 by ryan gerleve in Dev-VR branch]
2019-02-16 01:36:30 -05:00
Ryan Vance
cf29818a4d Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
#rb integration
Unblocking RoboMerge

[CL 4836190 by Ryan Vance in Dev-VR branch]
2019-01-29 17:41:46 -05:00
ryan gerleve
6969dd4bbb Copying //UE4/Dev-Networking to Dev-Main (//UE4/Dev-Main) [at] 4804506
#rb none
#rnx

#ROBOMERGE-OWNER: jason.bestimt
#ROBOMERGE-AUTHOR: ryan.gerleve
#ROBOMERGE-SOURCE: CL 4804559 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4804563 by ryan gerleve in Dev-VR branch]
2019-01-24 16:28:06 -05:00
jon nabozny
d14321bf90 Change channel logging to be more information in RepGraph.
[at]Ryan.Gerleve [at]Brian.Bekich [at]Bart.Hawthorne
#rb Bart.Hawthorne

#ROBOMERGE-OWNER: jason.bestimt
#ROBOMERGE-AUTHOR: jon.nabozny
#ROBOMERGE-SOURCE: CL 4792115 via CL 4792118 via CL 4792120 via CL 4797597 via CL 4797805
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4802923 by jon nabozny in Dev-VR branch]
2019-01-24 14:46:46 -05:00
Ryan Vance
7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00
Jason Bestimt
e7ed7cd3ff Unblock robomerge from Main
#RB:none

[CL 4604382 by Jason Bestimt in Dev-VR branch]
2018-11-28 15:05:11 -05:00