186 Commits

Author SHA1 Message Date
jon fairchild
ed5abf4147 Removed c++ 20 usage from FastArrayNetSerializer headers
#rb Peter.engstrom
#fyi Mattias.Hornlund
#jira UE-211880
#rnx
#p4v-cherrypick 32757635

[CL 32831670 by jon fairchild in 5.4 branch]
2024-04-09 13:38:33 -04:00
louisphilippe seguin
90d4c5475e 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 32491700 by louisphilippe seguin in 5.4 branch]
2024-03-25 19:18:29 -04:00
louisphilippe seguin
9726e57121 Fix missing export dll tag to SetAnalyticsAppender
#rb louisphilippe.seguin
#rnx

[CL 32491609 by louisphilippe seguin in 5.4 branch]
2024-03-25 19:15:42 -04:00
louisphilippe seguin
b0ce613b7b 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 32491604 by louisphilippe seguin in 5.4 branch]
2024-03-25 19:15:36 -04:00
louisphilippe seguin
e5c7caeb71 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 32489562 by louisphilippe seguin in 5.4 branch]
2024-03-25 18:39:03 -04:00
mattias hornlund
fba5b0059c Added console command to set nettrace verbosity at runtime
- NetTrace.SetTraceVerbosity [verbositylevel]

#rb Peter.Engstrom

[CL 32489123 by mattias hornlund in 5.4 branch]
2024-03-25 18:30:14 -04:00
mattias hornlund
4964b2a88f 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 32487239 by mattias hornlund in 5.4 branch]
2024-03-25 17:52:58 -04:00
mattias hornlund
2d45291881 Disabled deprecation of property until I have figured out to compilation errors from 31718958
#jira UE-207435
#rb Peter.Engstrom

[CL 32486484 by mattias hornlund in 5.4 branch]
2024-03-25 17:35:07 -04:00
mattias hornlund
4fcc71b5e4 Fixed compilation errors from 31718958
#jira UE-207435
#rb Peter.Engstrom

[CL 32486422 by mattias hornlund in 5.4 branch]
2024-03-25 17:34:24 -04:00
mattias hornlund
27ef9c4ef1 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 32486342 by mattias hornlund in 5.4 branch]
2024-03-25 17:33:30 -04:00
gkoreman
cb545e249a #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 31059971 by gkoreman in 5.4 branch]
2024-01-31 14:55:21 -05:00
mattias hornlund
dade7c8ec8 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 30925184 by mattias hornlund in 5.4 branch]
2024-01-26 10:49:15 -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
louisphilippe seguin
f8ef0b7afe Iris
* Server will now immediately force disconnect a client when it detects a protocol mismatch for critical classes

#rb Mattias.Hornlund
#rnx

[CL 29086295 by louisphilippe seguin in ue5-main branch]
2023-10-25 09:21:11 -04:00