Commit Graph

112 Commits

Author SHA1 Message Date
mattias hornlund
7c44fea903 Fixed issue with GameplayEffectContext replicating reference to dynamic object that never will be replicated which prevents GameplayEffect from calling Owner->HandleDeferredGameplayCues(this) as bHasMoreUnmappedReferences would always be true.
Engine changes

#rb Peter.Engstrom,Brian.Bekich, Ben.Ziegler, Benjamin.Fox
#preflight 637741a0aa2fe2b05f7c9c97

[CL 23192023 by mattias hornlund in ue5-main branch]
2022-11-18 05:46:31 -05:00
Peter Engstrom
b4ad801e74 Iris - Implemented globally unique NetHandles.
#jira UE-158304
#preflight 637604bebf76990b711695dd
#review-id 22809226
#rb mattias.hornlund, ryan.gerleve

[CL 23174328 by Peter Engstrom in ue5-main branch]
2022-11-17 07:11:09 -05:00
mattias hornlund
04adc5e638 Iris
FastArraySerialzier
- PostReplicatedReceive is now always called after all calls to FastArrayDeltaSerialize on the receiving side

#rb Peter.Engstrom
#preflight 63724ce2953c19d435182d6d

[CL 23119728 by mattias hornlund in ue5-main branch]
2022-11-14 11:48:50 -05:00
mattias hornlund
34c4372a43 Added new parameter OldArraySize to FastArraySerializer::FPostReplicatedReceiveParameters containing the size of the fastarray prior the the last receive operation.
#rb Brian.Bekich
#preflight https://horde.devtools.epicgames.com/job/6371fc315368a3230a36c5c4

[CL 23116049 by mattias hornlund in ue5-main branch]
2022-11-14 06:03:45 -05:00
Zak Middleton
9149ed2129 #ue5 - Truncation fixes for misc engine headers and modules:
- GameplayMediaEncoder
- GameplayTasks

#jira UE-160833
#rb Andrew.Davidson
#preflight 6362aead876630122ab1dead

[CL 22990977 by Zak Middleton in ue5-main branch]
2022-11-04 13:48:41 -04:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
henrik karlsson
cd1466475b Fixed up const/constexpr variables in header files to be "inline"
This is required for c++ modules/header units in order to decide if constexpr/const value should be available to outside module

#preflight 635c0b5c1803be35c767e0ea
#rb none

[CL 22835882 by henrik karlsson in ue5-main branch]
2022-10-28 15:38:42 -04:00
john barrett
356f62ec6e Added stack crashdump helpers for async demo crashes.
#rb Brian.Bekich, LouisPhilippe.Seguin, Johan.Torp, Ryan.Gerleve
#preflight 635a6fee9b2e9c76c7038ade

[CL 22827074 by john barrett in ue5-main branch]
2022-10-28 08:02:41 -04:00
john barrett
3f06ba628c Added optional earlier validation of client URL. Fixed clientside handling of encryption failure customization.
#JIRA FORT-485519, FORT-485545, VLN-2088
#rb Ryan.Gerleve, LouisPhilippe.Seguin
#preflight 6349c341ad0f7e2f20590864

[CL 22705182 by john barrett in ue5-main branch]
2022-10-21 19:51:07 -04:00
bob tellez
f91276cb21 Merging CL#22471087
PushModel
* Fix crash that occurs when setting a property dirty inside BeginDestroy()

FObjectKey
* Added ResolveObjPtrEvenIfUnreachable function to access UObject ptrs flagged for destruction.

#jira UE-164763
#rb Brian.Bekich, Ryan.Gerleve, Steve.Robb

[CL 22490670 by bob tellez in ue5-main branch]
2022-10-12 21:14:22 -04:00
Ryan Gerleve
acc1553813 Changes to allow compiling engine modules with Iris replication code by default, and link against modules/projects that don't depend on Iris.
ModuleRules.SetupIrisSupport defines a new macro to enable or disable the Iris fast array bindings for a module, added UHT support for this. This allows the dependency on the Iris bindings to be compiled out of modules that don't need it and still link with Iris-enabled modules.
Iris plugin disabled by default, should be enabled for specific projects that use it.

#jira UE-160209
#rb mattias.hornlund, peter.engstrom
#preflight 6346fd2cfa31324bb153b63b

[CL 22482725 by Ryan Gerleve in ue5-main branch]
2022-10-12 14:28:30 -04:00
brian bekich
472edd5698 Improvements to tracking/handling of replay/streamer errors
#preflight 6337011ec37844870a1363b4
#rb john.barrett, ryan.gerleve

[CL 22283948 by brian bekich in ue5-main branch]
2022-09-30 19:16:01 -04:00
andrew davidson
970f8f6a18 Non-Engine module public header truncation fixes to reduce noise when compiling with truncation warnings
#jira UE-160823
#rb dave.jones2, zak.middleton
#preflight 6336a3ecc37844870af8b119

[CL 22271698 by andrew davidson in ue5-main branch]
2022-09-30 11:36:06 -04:00
marc audy
311f7464bf Updated ../Engine/Source/Runtime/... to inline gen.cpp files
Before:
3648 unity files
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

After:
3548 unity files
Total CPU Time: 46643.828125 s
Total time in Parallel executor: 486.06 seconds

#jira
#preflight

[CL 22173263 by marc audy in ue5-main branch]
2022-09-24 13:57:58 -04:00
Mattias Hornlund
15ec8ac39e Iris
- Fixed issue where custom property overrides was not properly initialzied for iris if set before beginplay/beginreplication
- Cleaned up delegates propagating custom property overrides to iris-replicationsystem
- Marked interface methods in IRepChangedPropertyTracker to be deprecated in the future and added routing of SetCustomActive override via FNetPropertyConditionManager::SetPropertyActiveOverride to allow for future removal of the interface

#jira https://jira.it.epicgames.com/browse/UE-158358
#rb Peter.Engstrom
#preflight 63285ec98131e92d65975851

[CL 22072998 by Mattias Hornlund in ue5-main branch]
2022-09-19 08:51:23 -04:00
Mattias Hornlund
54f9c40adb - Fixed assignment of NetTraceId/GameInstanceId when using NetTrace
- Fixed typo that inverted intent of logic updating ViewTargets when running iris

#fyi Louisphilippe.Seguin
#jira none
#rb trivial
#preflight 63036f8903520e063c7ae90f

[CL 21482037 by Mattias Hornlund in ue5-main branch]
2022-08-22 08:09:44 -04:00
louisphilippe seguin
b32e0598b8 Subobject replication
* Added utility function to tell if a replicated subobject is registered or not
* GameplayAbilities will assert if they send an RPC before being registered.

#jira UE-153967
#rb Brian.Bekich, John.Barrett

#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 21392638 via CL 21395608 via CL 21395742
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21399824 by louisphilippe seguin in ue5-main branch]
2022-08-15 21:48:33 -04:00
bryan sefcik
a003f37532 Fixed -NoPCH -DisableUnity compile issue
#preflight none

[CL 21197298 by bryan sefcik in ue5-main branch]
2022-07-20 22:53:56 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
Peter Engstrom
360c462ffe Remove universal references where unneeded.
#preflight none

[CL 21106102 by Peter Engstrom in ue5-main branch]
2022-07-15 03:00:37 -04:00
john barrett
894b242805 Net Address Resolution refactor, to make way for 'Half-broken' NetConnection fix.
#rb Mattias.Hornlund

#ROBOMERGE-AUTHOR: john.barrett
#ROBOMERGE-SOURCE: CL 21070170 via CL 21070178 via CL 21070184
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21079572 by john barrett in ue5-main branch]
2022-07-13 16:24:35 -04:00
Peter Engstrom
4aae8d3ed0 Iris experimental replication system.
Initial submit, compiled out by default.

#rb Peter.Engstrom,Mattias.Hornlund,Brian.Bekich,Ryan.Gerleve,John.Barrett
#jira UE-158381
#preflight /62cd6fc7ad490b52da0515a3

[CL 21068370 by Peter Engstrom in ue5-main branch]
2022-07-13 03:11:55 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00
brian bekich
46fddb8b82 Servers should ignore NMT_DestructionInfo
#jira UE-156155
#rb ryan.gerleve

#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 20686068 via CL 20686075 via CL 20686078
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v968-20684695)

[CL 20688479 by brian bekich in ue5-main branch]
2022-06-16 12:08:47 -04:00
Mattias Hornlund
3150253d92 Network Insights
- Added support to trace simple stats assosciated with network trace data using macros UE_NET_TRACE_PACKET_STATSCOUNTER, UE_NET_TRACE_FRAME_STATSCOUNTER
- Runtime parts + some examples of hooked up stats
- New NetStatsCounters tab in NetworkInsights

Cherrypick of 18824234 + a few other changelists

#rb Peter.Engstrom
#jira none
#preflight 6299bb6f89508c7d71c47ed3

[CL 20483992 by Mattias Hornlund in ue5-main branch]
2022-06-03 03:48:56 -04:00