Commit Graph

187 Commits

Author SHA1 Message Date
louisphilippe seguin
f77dcf2e5f Networking:
* Added Networking_FastArray_Apply csv scope to FastArray reception codepath
* Allows to track regressions in FastArray user code
* Exposed CSV Networking category via NetCore module export

#rb jordan.cristiano, Ryan.Gerleve

[CL 31952587 by louisphilippe seguin in ue5-main branch]
2024-03-01 14:56:21 -05:00
louisphilippe seguin
04da431991 Fix missing export dll tag to SetAnalyticsAppender
#rb louisphilippe.seguin
#rnx

[CL 31941779 by louisphilippe seguin in ue5-main branch]
2024-03-01 09:00:19 -05:00
louisphilippe seguin
91555ff3fd NetAnalytics
* Added ability to add game specific attributes to the NetAnalytics framework
* To add those game attributes, Implementations of FNetAnalyticsData must call AppendGameInstanceAttributes before calling SendAttributes.
* Add or modify your game attributes with the  NetDriver::SetNetAnalyticsAttributes function
* NetDriver will add some default attributes (NetDriverName, NetDriverDefinition, ReplicationModel, NetMode) when net.AddNetDriverInfoToNetAnalytics is true

#[review]-31918845
#rb Ryan.Gerleve

#ushell-cherrypick of 31917915 by LouisPhilippe.Seguin

[CL 31941572 by louisphilippe seguin in ue5-main branch]
2024-03-01 08:56:03 -05:00
louisphilippe seguin
90eee141d1 Iris
* Make sure PushModel support is not tied to ShouldUseIrisReplication config.
* Instead the gamenetdriver will directly disable or enable pushmodel handle creation if it initalized Iris or not.
* This enables push model to work in GameModes that don't use Iris when the default engine setting from ShouldUseIrisReplication is true
* Remove crashcontext ReplicationModel attribute when GameNetDriver is shutdown on clients or listen servers.

#rnx
#rb Ryan.Gerleve

[CL 31851816 by louisphilippe seguin in ue5-main branch]
2024-02-27 15:58:09 -05:00
mattias hornlund
d856426368 Added console command to set nettrace verbosity at runtime
- NetTrace.SetTraceVerbosity [verbositylevel]

#rb Peter.Engstrom

[CL 31834077 by mattias hornlund in ue5-main branch]
2024-02-27 03:40:45 -05:00
mattias hornlund
14d3a3d55e Proper variant of deprecated FFastArraySerializer::FPostReplicatedReceiveParameters::bHasMoreUnmappedReferences as its behavior is inconsistent and code should not rely on it.
#jira UE-207435
#rb Peter.Engstrom

[CL 31757555 by mattias hornlund in ue5-main branch]
2024-02-23 03:41:29 -05:00
mattias hornlund
92bbd2994a Disabled deprecation of property until I have figured out to compilation errors from 31718958
#jira UE-207435
#rb Peter.Engstrom

[CL 31721149 by mattias hornlund in ue5-main branch]
2024-02-22 10:10:13 -05:00
mattias hornlund
1ed21b8927 Fixed compilation errors from 31718958
#jira UE-207435
#rb Peter.Engstrom

[CL 31719776 by mattias hornlund in ue5-main branch]
2024-02-22 09:13:27 -05:00
mattias hornlund
8d56d0f964 Deprecated FFastArraySerializer::FPostReplicatedReceiveParameters::bHasMoreUnmappedReferences as its behavior is inconsistent and code should not rely on it.
- Fixed issue with OldArraySize parameter not always propagated correctly when using iris

#jira UE-207435
#rb Peter.Engstrom

[CL 31719011 by mattias hornlund in ue5-main branch]
2024-02-22 08:41:38 -05:00
steve robb
148d4c61d5 Deprecated TIsTriviallyDestructible.
#rb devin.doucette

[CL 31695997 by steve robb in ue5-main branch]
2024-02-21 15:55:03 -05:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
gkoreman
2ccbfeb41d #ue5 - UCharacterMovementComponent::RoundAcceleration() changed to match the same rounding and clamping that is used by replication of FVector_NetQuantize10. Adapted from PR #10236
#jira UE-179831
#rb Justin.Hare
#tests PIE with networked movement showing corrections/logging

[CL 31060459 by gkoreman in ue5-main branch]
2024-01-31 15:05:39 -05:00
mattias hornlund
88a2558657 Iris
- Fixed issue where subobjects of objects pending dormant all would not always be polled as they should

#rb Peter.Engstrom
#ushell-cherrypick of 30915928 by Mattias.Hornlund

[CL 30920534 by mattias hornlund in ue5-main branch]
2024-01-26 08:18:34 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
marc audy
19e84555b3 Silence PVS warnings
[CL 30653812 by marc audy in ue5-main branch]
2024-01-17 01:34:02 -05:00
joe kirchoff
2e344b6efa Intel ICX 2024.0 integration plus instrumented/sampled PGO support (via Jeff.Rous)
#rb Steve.Robb, Joe.Kirchoff

[CL 30383859 by joe kirchoff in ue5-main branch]
2023-12-18 17:29:33 -05:00
louisphilippe seguin
bb74c01016 Iris
* Support objects triggering push-model dirty during PreReplication.
* Added locks to the GlobalDirtyNetTracker to detect illegal modifications after the RepSystem has read the list for the last time until the next reset.
* Only initialize the RepSystem's DirtyNetObjectTracker when object replication is enabled (e.g. server)

#rnx
#rb Mattias.Hornlund

[CL 30237432 by louisphilippe seguin in ue5-main branch]
2023-12-11 09:33:59 -05:00
louisphilippe seguin
15317d7b74 Iris
* Added ability to request to print additional information on the remote connection when a deserialization error causes a forced disconnection

#rnx
#rb Mattias.Hornlund

[CL 30154679 by louisphilippe seguin in ue5-main branch]
2023-12-06 10:01:37 -05:00
christopher waters
86af3ce99d Fixing various header only compile errors.
[CL 30138626 by christopher waters in ue5-main branch]
2023-12-05 17:55:30 -05:00
marc audy
763a611985 Fix C4072 warnings
#rnx

[CL 29852844 by marc audy in ue5-main branch]
2023-11-20 17:26:53 -05:00
peter engstrom
a5794725ab Iris - Fix casing.
#rnx

[CL 29650602 by peter engstrom in ue5-main branch]
2023-11-10 14:37:23 -05:00
peter engstrom
a9b36a97f1 Iris - Force very high priority on controllers and view targets if cvar Net.ForceConnectionViewerPriority > 0. Deprecated cvar Net.RepGraph.ForceConnectionViewerPriority as the functionality is implemented by Iris as well. Moved said cvar to NetCore module.
#rb louisphilippe.seguin, mattias.hornlund

[CL 29645482 by peter engstrom in ue5-main branch]
2023-11-10 12:54:02 -05:00
ryan gerleve
98cbbdd030 Re-submit: optimize net.RemapStableSubobjects and add fast arrays to the test case.
Store unmapped NetGUIDs of stably-named subobjects persistently instead of iterating through object replicators to find them every time.

#jira UE-198402
#rb LouisPhilippe.Seguin

[CL 29498227 by ryan gerleve in ue5-main branch]
2023-11-06 15:38:39 -05:00
bob tellez
b37acb7ad3 [Backout] - CL29418752
[FYI] Ryan.Gerleve
Original CL Desc
-----------------------------------------------------------------
Optimize net.RemapStableSubobjects and add fast arrays to the test case.
Store unmapped NetGUIDs of stably-named subobjects persistently instead of iterating through object replicators to find them every time.

#jira UE-198402
#rb LouisPhilippe.Seguin

[CL 29433740 by bob tellez in ue5-main branch]
2023-11-03 20:39:06 -04:00
ryan gerleve
e9b65b79a0 Optimize net.RemapStableSubobjects and add fast arrays to the test case.
Store unmapped NetGUIDs of stably-named subobjects persistently instead of iterating through object replicators to find them every time.

#jira UE-198402
#rb LouisPhilippe.Seguin

[CL 29431800 by ryan gerleve in ue5-main branch]
2023-11-03 19:40:38 -04:00