Commit Graph

260 Commits

Author SHA1 Message Date
mieszko zielinski
5794e912bd A kind of a guess-fix to SmartObjectSubsystem::RemoveRuntimeInstanceFromSimulation failing an ensure while called as part of USmartObjectSubsystem::CleanupRuntime.
#preflight 6336e42ab34118b9b4a0261c

[CL 22276176 by mieszko zielinski in ue5-main branch]
2022-09-30 14:29:22 -04:00
bryan sefcik
50d4fac9e0 Updated ../Engine/Plugins/... to inline gen.cpp files
Before:
3548 unity files
Total CPU Time: 47343.578125 s
Total time in Parallel executor: 494.60 seconds

After:
3445 unity files
Total CPU Time: 46044.671875 s
Total time in Parallel executor: 468.51 seconds

#jira
#preflight 63336159b20e73a098b7f24f

[CL 22218213 by bryan sefcik in ue5-main branch]
2022-09-28 01:06:15 -04:00
luciano ferraro
8d81044051 Fixed issue with actors that initialize the ability system component after the OnRegister phase
#jira
[REVIEW] [at]Mikko.Mononen
[FYI] Josselin.Francois, Loic.Devaux
#preflight 632c46ebc7791417aa78bd37

[CL 22165506 by luciano ferraro in ue5-main branch]
2022-09-23 20:48:44 -04:00
josselin francois
f3841fc414 Build Fix - SmartObject : Fix on GetBehaviorDefinition
[FYI] philippe.painchaud, loic.devaux, luciano.ferraro, Mikko.Mononen
 #tests PIE
#rnx

[CL 22091355 by josselin francois in ue5-main branch]
2022-09-20 09:09:25 -04:00
mikko mononen
a0b73327bd SmartObjects: Added method to retrieve behavior definition from request result
#rb Mieszko.Zielinski
#preflight 63245ca7ea1c94f4c5b32b13

[CL 22052312 by mikko mononen in ue5-main branch]
2022-09-16 12:46:45 -04:00
fernando coello
a2c98bb81b Smart Object: Added BlueprintCallable helper functions to set/get a SmartObjectClaimHandle on/from the blackboard using a FBlackboardKeySelector
[REVIEW] [at]mikko.mononen [at]mieszko.zielinski
[FYI] [at]julien.marchand [at]aaron.cox
#preflight 6322243ea514fd1e3739e12a
#jira none

[CL 22035789 by fernando coello in ue5-main branch]
2022-09-15 15:15:14 -04:00
fernando coello
cfc88369be Smart Object: Exposed GetSlotTransform from RequestResult to blueprint
[REVIEW] [at]mikko.mononen [at]mieszko.zielinski
[FYI] [at]julien.marchand [at]aaron.cox
#preflight 63222025bc40358fa204b699
#jira none

[CL 22035674 by fernando coello in ue5-main branch]
2022-09-15 15:11:53 -04:00
josselin francois
77ac482e2f SmartObjectSubsystem : Add GetSmartObjectComponentByRequestResult()
[REVIEW] [at]Yoan.Stamant, [at]Mikko.Mononen
[FYI] philippe.painchaud, loic.devaux, luciano.ferraro
#tests PIE
#rnx

[CL 21975685 by josselin francois in ue5-main branch]
2022-09-12 19:23:55 -04:00
Mieszko Zielinski
21ff8acc55 Fixed UEnvQueryGenerator_SmartObjects::GetDescriptionDetails's description to include filter's array of behavior defs (used to be a non-container property).
#rb none
#preflight 631ae0ecd31788ea3a8a877c

[CL 21916553 by Mieszko Zielinski in ue5-main branch]
2022-09-09 03:03:49 -04:00
aurel cordonnier
cd5009567a Diabling deprecation warning to fix build
#fyi Mieszko.Zielinski
#preflight n/a

[CL 21910154 by aurel cordonnier in ue5-main branch]
2022-09-08 21:11:01 -04:00
luciano ferraro
5c21a50454 Change back BehaviorDefinitionClass_DEPRECATED to BehaviorDefinitionClass to keep the code backward compatible
#jira
[REVIEW] [at]Mikko.Mononen
#preflight skip

[CL 21907564 by luciano ferraro in ue5-main branch]
2022-09-08 19:36:03 -04:00
marc audy
04c3709768 Replace BehaviorDefinitionClass with a BehaviorDefinitionClasses
[REVIEW] [at]Mikko.Mononen, [at]Yoan.Stamant
[FYI] Loic.Devaux, Josselin.Francois, Nicolas.Bonnelly, Phil.Cole
#preflight 6317787b2b7fe03eb643473b

[CL 21907244 by marc audy in ue5-main branch]
2022-09-08 19:27:10 -04:00
Mieszko Zielinski
ad131754e0 Added a Smart Object EQS generator along with a dedicated EQS item type.
#review-21737871
#preflight 6310c2d27e5b5908116fecec

[CL 21740977 by Mieszko Zielinski in ue5-main branch]
2022-09-01 10:46:24 -04:00
Mieszko Zielinski
d55575b7d8 Added USmartObjectSubsystem.FindSmartObjectsWithLocations that similarly to FindSmartObjects fetched smart object slots matching given filter, but the result also contains smart object locations
Also added a handy "CanBeClaimed" function for testing individual slots.

#review-21737223
#preflight 6310808ae54ec9d581d0fade
#preflight 6310a9eae1124837759bf70f

[CL 21738872 by Mieszko Zielinski in ue5-main branch]
2022-09-01 09:03:19 -04:00
Mieszko Zielinski
23e2dffb20 Made FMassEntityManager a FGCObject to avoid requiring owners to call AddReferencedObjects manually
#review-21677180
#preflight 630ccbede1124837752a8e7f

[CL 21677985 by Mieszko Zielinski in ue5-main branch]
2022-08-29 11:12:18 -04:00
ben zeigler
9ea9312867 Fix broken redirects discovered by running -DebugCoreRedirects on the engine
Some of these needed full paths after the path lookup changes, some were out of date, and some were typos
#jira UE-161345
#rb matt.peters
#preflight 6306824e5a5d4e462465eaf7

[CL 21566281 by ben zeigler in ue5-main branch]
2022-08-25 11:56:33 -04:00
Mieszko Zielinski
9abf914e39 Added another flavor of FMassEntityManager::GetOrCreateConstSharedFragment that makes for more consistent hash calculation (the function itself is calculating it)
Updated most callsites to use the new version. Only two traffic use cases left untouched due to non-trivial hash calculation.

#review-21485588
#preflight 630614210061f895d03e3f4e

[CL 21538494 by Mieszko Zielinski in ue5-main branch]
2022-08-24 08:35:42 -04:00
Zousar Shaker
3f4252aa56 ObjectPtr upgrade for engine plugins used from UnrealEditor -allmodules. Automated upgrade process.
#rb none
#preflight 62fe7f270601ad0504910c30

[CL 21447894 by Zousar Shaker in ue5-main branch]
2022-08-18 15:08:49 -04:00
Mieszko Zielinski
4e2ff2ef25 MassEntityManager moved to a separate file.
Updated header inclusion after moving MassEntityManager into a separate file

#rb none
#preflight 62f662301e61d1ba0e8580ad

[CL 21355128 by Mieszko Zielinski in ue5-main branch]
2022-08-12 10:47:11 -04:00
Mieszko Zielinski
d69aa84834 Separated "entity management" and USubsystem stuff of UMassEntityManager. Now UMassEntityManager hosts a shared ref of newly created FMassEntityManager, and users are free to create their own FMassEntityManager instances to create isolated entity pools.
Updated Mass code to reflect FMassEntityManager introduction

#jira UE-147658
#review-21335324
#review-21335330
#preflight 62f6384acf7afa018b93b9b5

[CL 21353355 by Mieszko Zielinski in ue5-main branch]
2022-08-12 07:56:27 -04:00
yoan stamant
e21d4d944f [GameplayDebugger] added dedicated Target rule for GameplayDebugger
- Default behavior is preserved (i.e. Target.bBuildDeveloperTools || (Target.Configuration != UnrealTargetConfiguration.Shipping && Target.Configuration != UnrealTargetConfiguration.Test))
- Added SetupGameplayDebuggerSupport for ModuleRules that want to use GameplayDebugger. This will add required dependency and public definition (WITH_GAMEPLAY_DEBUGGER=0|1)
- Build Target can override by specifying a value to 'bUseGameplayDebugger'
#jira UE-159095
#rb mieszko.zielinski
#preflight 62d178143b057e72748ccbe3

#ROBOMERGE-OWNER: yoan.stamant
#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 21113824 via CL 21113871 via CL 21114153
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21142398 by yoan stamant in ue5-main branch]
2022-07-17 22:41:36 -04:00
yoan stamant
1d2876b4d0 [SmartObject] added editor command to clear collection
#rnx
#rb trivial

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 21108937 via CL 21108960 via CL 21108962
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21110307 by yoan stamant in ue5-main branch]
2022-07-15 10:50:18 -04:00
Patrick Enfedaque
29b0d13b58 SmartObject: Collection + SubsystemRendering can't be Copy/Pasted or Deleted
- Fixes failed check when copy pasting selection of actors that contain SmartObject actors

#jira none
#rb yohan.stamant
#preflight 62aa32de4a335ad67cbe6be6
#robomerge EngineMerge

[CL 20685632 by Patrick Enfedaque in ue5-main branch]
2022-06-16 08:26:40 -04:00
Yoan StAmant
43960896b6 [SmartObject] fixed unit tests when SmartObjectCollection is set to build on demand
#jira UE-156476
#rnx
#rb mieszko.zielinski, maxime.mercier
#robomerge EngineMerge
#preflight 62a8d560a43e20b2935635de

[CL 20654838 by Yoan StAmant in ue5-main branch]
2022-06-14 15:16:17 -04:00
JeanFrancois Dube
a28fdcfe97 World Partition:
- Deprecate UWorldPartition::GetWorldBounds and add GetRuntimeWorldBounds along with GetEditorWorldBounds, maintained by the editor hash.
- World Partition editor now shows the runtime world size instead of the editor world size, which makes more sense to the user.

#rb sebastien.lussier
#preflight 62a74476e83d4c62de7f2b62
#rnx

[CL 20627192 by JeanFrancois Dube in ue5-main branch]
2022-06-13 10:49:55 -04:00