Commit Graph

106 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
Zousar Shaker
a160958acf Prototype Wrapped Object Pointers (ObjectHandle/ObjectPtr)
Avoiding use of implicit conversion to pointer reference on TObjectPtr (making it either explicit or using a reference to a TObjectPtr where that is an easy option).

#rb matt.peters

[CL 14840803 by Zousar Shaker in ue5-main branch]
2020-12-02 20:23:02 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Zousar Shaker
3cdeeb8075 Prototype Wrapped Object Pointers (ObjectHandle/ObjectPtr) Change ternary operators that are ambiguous when TObjectPtr can be implicitly constructed from a raw pointer. Also allow TObjectPtr to be implicitly constructed from an appropriate raw pointer.
#rb devin.doucette

[CL 14739879 by Zousar Shaker in ue5-main branch]
2020-11-12 18:18:02 -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
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -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
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