Commit Graph

174 Commits

Author SHA1 Message Date
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
marc audy
a61593568e Fix PVS warnings - V591: Non-void function should return a value.
Add return values for static_assert cases to placate PVS
Fix copy operators not returning this
Fix a handful of other cases

[CL 28955609 by marc audy in ue5-main branch]
2023-10-20 01:28:06 -04:00
peter engstrom
02497d3d63 Added MakeNetBitArray from storage with NoResetNoValidate.
#rnx
#rb mattias.hornlund

[CL 28876384 by peter engstrom in ue5-main branch]
2023-10-18 10:13:42 -04:00
hcarrikerriot
308c55b104 PR #10970: Adding missing paren on MARK_PROPERTY_DIRTY_FROM_NAME_STATIC_ARRAY macro
#jira UE-197609
#rb trivial
#rnx

[CL 28811318 by hcarrikerriot in ue5-main branch]
2023-10-16 14:49:38 -04:00
louisphilippe seguin
7e6b48aa97 Iris
* Added ability to prefer a Replication System via the GameMode class.
* When a game mode selects a specific replication system, the server will create its GameNetDriver using that mode if compatible.
* Note that the clients are NOT able to ask the game mode for the proper repsystem, so use this only when you can correctly predict the proper mode before connecting on the server.  Otherwise the clients may disconnect due to incompatible netdrivers.
     * PIE clients started inside a single process will use the correct repsystem of the dedicated server.
* Setting -UseIrisReplication=0/1 on the cmdline will override the GameMode's requested system.

#rb Ryan.Gerleve

[CL 28628549 by louisphilippe seguin in ue5-main branch]
2023-10-10 13:46:53 -04:00
dylan fansler
f4f510c925 Null checking for Net Channel to prevent server crashes when we run out of Replication Channels
[CL 28598764 by dylan fansler in ue5-main branch]
2023-10-09 16:58:09 -04:00
peter engstrom
571de1bca1 Iris - Mark properties as dirty when pushing out state.
#jira UE-196996
#rnx
#rb mattias.hornlund

[CL 28450822 by peter engstrom in ue5-main branch]
2023-10-04 08:06:35 -04:00
louisphilippe seguin
5f5608d185 Iris
* Move PreUpdate into its own loop and call it on all polling objects.
* Properly manage objects that set dirtyness on other objects inside PreUpdate/PreReplication
   * Now objects that get set dirty inside PreReplication but are not set to be polled will still be set dirty on the next frame.
* Deleted code that tested if such dependencies existed

#jira UE-192518, FORT-639953
#rb Peter.Engstrom
#rnx

[CL 27955686 by louisphilippe seguin in ue5-main branch]
2023-09-18 09:25:23 -04:00
steve robb
51f3ea53ae Removed ChooseClass.h includes.
#rb trivial

[CL 27823723 by steve robb in ue5-main branch]
2023-09-13 05:43:01 -04:00
steve robb
da9f5a828a Replaced TChooseClass with std::conditional_t.
#rb none
#jira UE-195271

[CL 27816205 by steve robb in ue5-main branch]
2023-09-12 19:55:55 -04:00
louisphilippe seguin
9e0f2600cf Fix missing include in non-unity build
#rb trivial
#rnx

[CL 26857961 by louisphilippe seguin in ue5-main branch]
2023-08-04 15:39:49 -04:00
louisphilippe seguin
321b6117e3 NetDriver:
* Fix net.EnableDetailedScopeCounters not turning off conditional scopes because of the multiple definitions of  GUseDetailedScopeCounters.

#rb Jon.Fairchild, Matt.Harriss

[CL 26854717 by louisphilippe seguin in ue5-main branch]
2023-08-04 14:32:48 -04:00
brandon schaefer
f401d9d8a8 Enable AutoRTFM for these modules
#rb Neil.Henning

[CL 26739144 by brandon schaefer in ue5-main branch]
2023-08-01 10:54:14 -04:00