Commit Graph

94 Commits

Author SHA1 Message Date
peter engstrom
79e57213a5 Iris - Register replication fragments for GameplayTasks.
#rnx
#preflight none
#rb ryan.gerleve

[CL 24465038 by peter engstrom in ue5-main branch]
2023-03-01 12:34:24 -05:00
louisphilippe seguin
aaec6404cb SubObjects replication
* Added cvar net.SubObjects.DetectDeprecatedReplicatedSubObjects
* When enabled it will ensure if it detects that ReplicateSubObjects() is implemented in a class that switched over to the new registration method
* Only available in development builds

#rb Mattias.Hornlund

[CL 24106222 by louisphilippe seguin in ue5-main branch]
2023-02-09 16:20:59 -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
Stephen Holmes
aa8997ef01 AI Truncation warning fixes.
This is the majority of the fixes however a few systems have been left for individual CLs.

#jira UE-166285
#preflight 63616567ce676ae868034ab0
#review-22869010

[CL 22889316 by Stephen Holmes in ue5-main branch]
2022-11-01 15:32:27 -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
bryan sefcik
cb0456c6d4 Cleaned up build.cs files by removing any include paths that were already being added by UBT. This was done to help identify how include paths are being added and to help with future refactoring.
#jira
#preflight 631a5c04967ffc68fbf0dd8f

[CL 21911226 by bryan sefcik in ue5-main branch]
2022-09-08 21:44:02 -04:00
yoan stamant
807d1603f3 [GameplayTask] added MarkOwnerFinished to inform the task that owner is done and don't want to get notified through OnGameplayTaskDeactivated callback.
This is for cases where an owner doesn't control the lifetime of the task (i.e. will not call ExternalCancel or EndTask)
#rb mieszko.zielinski
#preflight 62d9495c110da0f944b17bdd

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 21200416 via CL 21200441 via CL 21200446
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21202798 by yoan stamant in ue5-main branch]
2022-07-21 12:26:12 -04:00
LouisPhilippe Seguin
89cf42dc37 ActorComponent init flow:
* Added ActorComponent ReadyForReplication() event function.
* This is called between InitComponent and before BeginPlay during the owning actor's BeginPlay
* Should be used to register preexisting replicated subobjects. It will make it so subobjects get replicated even if a component called an RPC on itself early inside BeginPlay.

#rb Ryan.Gerleve, Ben.Zeigler, Mattias.Hornlund
#preflight skipped

#ROBOMERGE-OWNER: LouisPhilippe.Seguin
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 21056583 via CL 21056603 via CL 21056621 via CL 21056642
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21077967 by LouisPhilippe Seguin in ue5-main branch]
2022-07-13 15:27:41 -04:00
Yoan StAmant
1d1972cb17 GameplayActuationComponent and GameplayTasksComponent redirect VLOG to owner
AIController no longer needs to redirect GameplayTasksComponent explicitly since it already redirect the pawn when possessed
Added simulated tasks to GameplayTasksComponent to vlog snapshot for replicated components
#rnx
#robomerge EngineMerge
#rb mikko.mononen
#preflight 62bc3c6dfd062511870c840a

[CL 20872689 by Yoan StAmant in ue5-main branch]
2022-06-29 07:55:09 -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
Yoan StAmant
a02b83c520 [GameplayTasksComponent]
- now inherits fromIVisualLoggerDebugSnapshotInterface so debug snapshots are taken even if there is no AIController (e.g. replicated pawn)
- no longer tick invalid tasks (i.e. destroyed by the replication layer but still part of the TickingTasks)
- added GetSimulatedTaskIterator
#rb mieszko.zielinski
#robomerge EngineMerge
#preflight 62b1e3f8c400b5ee2f55df33

[CL 20758781 by Yoan StAmant in ue5-main branch]
2022-06-21 11:44:49 -04:00
mikko mononen
bb34006152 GameplayTask: Added new task resource overlap policies to cancel existing tasks.
#jira UE-155838
#rb Mieszko.Zielinski Justin.Hare
#robomerge EngineMerge
#preflight 62b042012405dc61024fe803

[CL 20734964 by mikko mononen in ue5-main branch]
2022-06-20 06:01:02 -04:00
louisphilippe seguin
c4a2fa4c7d GameplayAbilities
* Prevent null subobjects from getting registered for replication

#rb Brian.Bekich

#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 20365115 via CL 20365122 via CL 20365138
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20367769 by louisphilippe seguin in ue5-main branch]
2022-05-25 13:28:37 -04:00
mattias hornlund
0f9f06f572 Fixed off by one bug in DisableAllReplicatedPropertiesOfClass() which did not properly disable all properties
#rb Peter.Engstrom, LouisPhilippe.Seguin

#ROBOMERGE-AUTHOR: mattias.hornlund
#ROBOMERGE-SOURCE: CL 19960293 via CL 19960368 via CL 19960601
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19971507 by mattias hornlund in ue5-main branch]
2022-04-28 18:48:40 -04:00
louisphilippe seguin
8dcd9b7535 SubObject API
* GameplayTasksComponent and AbilitySystemComponent now support the registered subobject API
* By default the components keep replicating their subobjects via the old way (the ReplicateSubObjects function).
* Deleted some UE_DEPRECATED(4.XX) tags and moved or deleted the code they touched.
* Moved some replicated members to private access. Derived classes should use the Get/Set functions instead.

#jira UE-132889
#rb Mattias.Hornlund, John.Barrett

#ROBOMERGE-OWNER: louisphilippe.seguin
#ROBOMERGE-AUTHOR: louisphilippe.seguin
#ROBOMERGE-SOURCE: CL 19307153 via CL 19307179 via CL 19311960 via CL 19315392 via CL 19315492
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19347720 by louisphilippe seguin in ue5-main branch]
2022-03-10 21:36:40 -05:00
UnrealBot
c47e81b2cb Branch snapshot for CL 18531810
[CL 18531810 in ue5-main branch]
2022-01-06 16:44:09 +00:00
UnrealBot
2987349d36 Branch snapshot for CL 18514113
[CL 18514113 in ue5-main branch]
2022-01-05 20:41:17 +00:00
jacob dodson
bd20ab40a7 Expanded the information provided by the ensure in UGameplayTask::OnDestroy
#jira: https://jira.it.epicgames.com/browse/FORT-438283
[REVIEW] [at]Cory.Kolek, [at]Kris.Pelley, [at]Lukasz.Furman, [at]Nathan.Green, [at]Josh.May, [at]Kevin.Hamilton

#ROBOMERGE-AUTHOR: jacob.dodson
#ROBOMERGE-SOURCE: CL 18521663 via CL 18521703 via CL 18521731 via CL 18522242 via CL 18522366 via CL 18523519 via CL 18523550
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18523594 by jacob dodson in ue5-release-engine-test branch]
2022-01-05 15:02:56 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
Tim Smith
a2237e050d LiveCoding Re-instancing
LIMITATIONS:

1) Re-instancing will only update UClass instance data.
2) Adding and removing properties should only be done towards the end of a class or structure and can not be followed by complex data types.
3) Adding and removing properties from a base class should not be done if a derived class contains complex data types.

KNOWN ISSUES:

1) Changes to enumerations and structures will not be reflected in existing blueprints.  However, adding new nodes to the blueprint will show the updated enumeration or structure.
2) If a class contains an enumeration or structure as a member, the class will not be re-instanced if enumeration or structure is changed.

CHANGES:

1) LiveCodingServer
1a) Modified to always execute certain static instances during load.
1b) Modified to exclude the _Statics static structures to avoid patching to old copies.

2) Added support for LiveCoding reinstancing
2a) Refactored deferred registration system for UClass, UEnum, and UScriptStruct to use a common system that works for normal game, hot reload and live coding.
2b) Type specific version check data is possible (i.e. enum doesn't have a size)
2c) Single registration static for UClass
2d) Single registration class for all types that is just a blind forward to API.
2e) Static and dynamic registrations use different API entry points to avoid having overloaded argument lists that just apply to one or the other.
2f) Shims for older API

3) New common "Reload" system to avoid using HotReload code.
3a) Support common delegates regardless of who is reloading/reinstancing.
3b) Re-instancing code moved from HotReload to Kismet2 (where the bulk of the re-instance code already existed).
3c) Modified PyWrapper to use new helper class instead of depending on HotRelaod
3d) Added WITH_RELOAD which is defined if HotReload or LiveCoding is enabled.
3e) Modifed existing code to use new #define and delegates.

Robert did the review on the changes covered by Part 2.  Remaining changes are all straightforward.

#rb robert.manuszewski
#jira UE-74493

[CL 15736777 by Tim Smith in ue5-main branch]
2021-03-18 08:13:59 -04:00
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
8cb2ea3473 Prototype Wrapped Object Pointers (ObjectHandle/ObjectPtr)
Call-site changes for non-scalar wrapped object pointer upgrade that overlap with automated pointer changes.

#rb devin.doucette

[CL 14822398 by Zousar Shaker in ue5-main branch]
2020-11-30 14:57:34 -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