Commit Graph

63 Commits

Author SHA1 Message Date
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
Yoan StAmant
142571a573 SmartObjectSubsystem: Removed comment that was not supposed to be submitted
#rnx
#rb trivial
#preflight skip

[CL 20598379 by Yoan StAmant in ue5-main branch]
2022-06-10 12:51:37 -04:00
luciano ferraro
b6998b8dbf Changed the default value of bBuildOnDemand to true:
- avoids references being created in setups with multiple plugins and level overlays

[REVIEW] [at]Yoan.Stamant
[FYI] Bill.Colby, Scott.Maclean, Phil.Cole, Josselin.Francois, Loic.Devaux, Karl.Dubois, Gael.Leger

#ROBOMERGE-AUTHOR: luciano.ferraro
#ROBOMERGE-SOURCE: CL 20578553 via CL 20578795 via CL 20579295
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20582631 by luciano ferraro in ue5-main branch]
2022-06-09 15:07:59 -04:00
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
Yoan StAmant
47e097a6ce [SmartObject] do not spawn more than one rendering actor when OnWorldComponentsUpdated gets called more than once
#rnx
#preflight 627ac92e0a5817c9d912b645

[CL 20129055 by Yoan StAmant in ue5-main branch]
2022-05-10 16:35:49 -04:00
robert millar
a5e3c40984 Destroy smart object collection actor rather than using MarkAsGarbage so the level doesn't keep a garbage reference to it.
#rb Yoan.Stamant

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 20085563 via CL 20086158 via CL 20086252 via CL 20086322
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20108309 by robert millar in ue5-main branch]
2022-05-09 15:04:45 -04:00
Yoan StAmant
9363b181ee GameplayBehaviorSmartObjects plugin to create and use SmartObjects using GameplayBehaviors as their default runtime instances.
#rnx
#preflight 626feb8f264f78f46f775c92

[CL 20008771 by Yoan StAmant in ue5-main branch]
2022-05-02 10:59:07 -04:00
Yoan StAmant
c9e58d56af Do not attempt to unregister from simulation or unbind SmartObjectComponent that were not registered (e.g. invalid definition)
#rnx
#rb trivial
#preflight 626c27222660750c3f05d3dd

[CL 19982673 by Yoan StAmant in ue5-main branch]
2022-04-29 14:19:34 -04:00
Yoan StAmant
895d615f85 [SmartObject] do not attempt to remove component from simulation if they were not registered (e.g. invalid definition)
#rnx
#rb none
#preflight skip

[CL 19946836 by Yoan StAmant in ue5-main branch]
2022-04-27 16:53:50 -04:00
Yoan StAmant
83f8306c54 [SmartObject] updated error reporting regarding missing collection in non-editor builds since we can't assume a missing collection will be created during cooking.
#jira UE-149283
#rnx
#rb mieszko.zielinski
#preflight 6268354a430b9997ebe78d4f

[CL 19925660 by Yoan StAmant in ue5-main branch]
2022-04-26 14:39:26 -04:00
yoan stamant
d3a1a8229e [SmartObject] delegate used to update Tags on the runtime instance now relies on the Handle to find it.
#rb josselin.francois
#preflight 6266c7915037f70ba0ec0570

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19906924 via CL 19908308 via CL 19909754
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19911041 by yoan stamant in ue5-main branch]
2022-04-25 18:52:43 -04:00
yoan stamant
af9fec92f3 Fix CIS Issue #161020
#rb none

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19728712 via CL 19729256 via CL 19729651
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19733262 by yoan stamant in ue5-main branch]
2022-04-12 21:18:08 -04:00
yoan stamant
3bbbdfbca9 [GameplayBehavior] renamed manager to subsystem and converted to a world subsystem. This removes our last dependency on the newly deprecated TDefaultManagerInstanceTracker
#rnx
#jira UE-148445
#rb mikko.mononen
#preflight 6255b50b3f5641db59ff0cc0

#ROBOMERGE-OWNER: yoan.stamant
#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19726266 via CL 19727323 via CL 19727832
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19733198 by yoan stamant in ue5-main branch]
2022-04-12 21:16:50 -04:00
yoan stamant
405c0df0c3 [SmartObject] added CVar to be able to completly disable runtime initialization.
Note that this needs to be set before lauching the game and doesn't support to be toggled at runtime.
#rnx
#rb josselin.francois
#preflight 624af6089f40423414926c41

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19609030 via CL 19609331 via CL 19609513
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19611700 by yoan stamant in ue5-main branch]
2022-04-04 13:22:01 -04:00
Yoan StAmant
0afd1719f8 [SmartObject] UAITask_UseSmartObject provide both actors to trigger the behavior (interactor + interactee
#rb trivial
#rnx
#preflight 624b2130f4217035fab7ec89

[CL 19611280 by Yoan StAmant in ue5-main branch]
2022-04-04 12:55:07 -04:00
yoan stamant
2ad9eead0e [SmartObject] added EditorStyle to be able to set icon for Blackboard key type SmartObjectClaimHandle
#rnx
#rb maxime.mercier
#preflight 624707e3c61d8a458f5f01f5

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19589605 via CL 19589612 via CL 19589626
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19590977 by yoan stamant in ue5-main branch]
2022-04-01 13:05:21 -04:00
yoan stamant
91b9324d52 [SmartObject] UnregisterSmartObjectActor/Component removes the associated runtime instance from the simulation.
#rnx
#b josselin.francois
#preflight 6244899fc61d8a458f3ddeca

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19560699 via CL 19560702 via CL 19560708
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19562453 by yoan stamant in ue5-main branch]
2022-03-30 15:13:42 -04:00
marc audy
cd7919c4e7 Correct some inconsistencies with Dev-EngineMerge
#rnx

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 19531108 in //UE5/Release-Engine-Staging/...
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19532836 by marc audy in ue5-main branch]
2022-03-28 16:31:36 -04:00
yoan stamant
7641c72060 [SmartObject] updated API to remove all ensure and allow caller to provide unset handle or handle to object/slots that may not longer be registered in the simulation.
#rnx
#rb mikko.mononen
#rb josselin.francois
#preflight 623385990820efd0945e69d2

#ROBOMERGE-OWNER: yoan.stamant
#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19425613 via CL 19431559 via CL 19435646 via CL 19436095
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19437148 by yoan stamant in ue5-main branch]
2022-03-18 12:31:49 -04:00
yoan stamant
478d81a61b [SmartObject] handles for SmartObject and SmartObjectSlot passed by value
#rnx
#rb trivial
#preflight 62322b8c6e25767a218d46b0

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19410090 via CL 19412659 via CL 19426193 via CL 19426309
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19429514 by yoan stamant in ue5-main branch]
2022-03-17 19:07:54 -04:00
yoan stamant
81e98c44c3 [SmartObject] added clarifications to some comments
#rb aris.theophanidis
#rnx

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19406170 via CL 19409821 via CL 19420133 via CL 19420229
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19421102 by yoan stamant in ue5-main branch]
2022-03-17 11:17:04 -04:00
yoan stamant
4b56d97931 [SmartObject] added support for GameplayTags on runtime instance
+ SmartObjectComponent acts a bridge to sync tags from the RuntimeInstance and the AbilitySystemComponent (if present on the owning actor)
+ Component streamed out and back it will be bound with their persistent counterpart from the simulation and will synchronize their tags
+ RuntimeInstance and Slot now have a dedicated state when they are disabled when the instance tags don't pass the restrictions defined in the SmartObjectDefinition (ObjectTagFilter)
+ Made a pass to improve consistency in error reporting and methods descriptions
+ Added methods to validate if the object/slot associated to a FSmartObjectClaimHandle and FSmartObjectSlotHandle is still valid when those are stored and not used immediately after a call to any of the 'Find' or 'Claim' methods
#rnx
#rb mikko.mononen
#preflight 6230a0b4e65a7e65d68741e4

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19386803 via CL 19389419 via CL 19398538 via CL 19398590
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19403765 by yoan stamant in ue5-main branch]
2022-03-16 03:47:02 -04:00
yoan stamant
03990f0f3a SmartObjectCollection no longers locks its location
#rnx
#rb trivial

#ROBOMERGE-AUTHOR: yoan.stamant
#ROBOMERGE-SOURCE: CL 19379514 via CL 19381537 via CL 19394367 via CL 19394521
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19402403 by yoan stamant in ue5-main branch]
2022-03-16 03:08:01 -04:00