mikko mononen
44c58a9a25
StateTree: Manually merged 31902376, 32435826, 32969383, and 33135570 from Main.
...
Merging important crash fixes which happened past 5.4 deadlines but severely affect the new features in 5.4.
The fixes were made on top of functionality that is not yet in 5.4. so had to be merged manually.
#jira UE-211189
#rb Mieszko.Zielinski
[CL 33463624 by mikko mononen in 5.4 branch]
2024-05-06 14:19:15 -04:00
mikko mononen
348099ee47
StateTree: Fix active instance data access when during selection.
...
#rb Mieszko.Zielinski
#lockdown julien.marchand
[CL 32544383 by mikko mononen in 5.4 branch]
2024-03-27 11:10:54 -04:00
mikko mononen
9977e88469
StateTree: Fixed non initialized state params when checking it's enter conditions
...
[CL 32510432 by mikko mononen in 5.4 branch]
2024-03-26 11:32:39 -04:00
devin doucette
1920e4aaaf
Deprecated fields on FPropertyTag that are now represented by its TypeName
...
#rb Steve.Robb
#rnx
[CL 32496405 by devin doucette in 5.4 branch]
2024-03-26 00:36:19 -04:00
guillaume arruda
18a7796c74
FIx CIS errors
...
#rnx
[CL 32496297 by guillaume arruda in 5.4 branch]
2024-03-26 00:33:32 -04:00
guillaume arruda
e9127b98af
Create IStateTreeSchemaProvider that allows a derived class to override the schema used by a parent property.
...
Create StateTreeAIComponent & StateTreeAIComponentSchema derived from StateTreeComponent but guaranteed to have a AIController
#rb mikko.mononen
[CL 32496296 by guillaume arruda in 5.4 branch]
2024-03-26 00:33:28 -04:00
yoan stamant
0adef918de
[StateTreeDebugger] handle buffered data differently if it can be reused in multiple traces during the same game session or if it need to be reset when stopping the trace
...
#jira UE-207387
#rb mikko.mononen
[CL 32488686 by yoan stamant in 5.4 branch]
2024-03-25 18:19:55 -04:00
mikko mononen
593405096e
PropertyBinding: Changed the results passed to OnCanAcceptPropertyOrChildrenWithBindingChain to be consistent with the rest of the API.
...
#rb Mieszko.Zielinski#preflight 65cb57734e11958de197f696
[CL 31422117 by mikko mononen in 5.4 branch]
2024-02-13 08:36:26 -05:00
mikko mononen
2d1a48be9b
StateTree: Fixed crash when resolving bindings without value into Weak or Soft Objects.
...
[CL 31041198 by mikko mononen in 5.4 branch]
2024-01-31 05:34:06 -05:00
mikko mononen
f1104edd5f
StateTree: Introduced TStateTreePropertyRefExternalHandle.
...
- also InstanceDataStorage is stored as a sharedptr now
[CL 31000297 by mikko mononen in 5.4 branch]
2024-01-30 06:46:14 -05:00
yoan stamant
809e763b10
[StateTreeTrace] fixed performance issue when buffering lot of events (> 17K in City Sample) by switching array to map.
...
#jira UE-204488
#rb mikko.mononen
[CL 30924966 by yoan stamant in 5.4 branch]
2024-01-26 10:45:45 -05:00
aris theophanidis
42af29bff6
Removing coreminimal.h from some of the most included locations
...
#rb Yoan.StAmant
[CL 30814943 by aris theophanidis in ue5-main branch]
2024-01-23 15:07:05 -05:00
yoan stamant
e7a2d41cb4
[StateTreeTrace] Replaced include by forward declaration now that it is supported for TMap
...
#rb Maxime.Mercier
[CL 30783098 by yoan stamant in ue5-main branch]
2024-01-22 14:45:12 -05:00
mikko mononen
dd16540a54
StateTree: Storing global parameters data in instance storage.
...
- Implies that parameters are only set once at start
- Allows parameters to be safely mutated if needed, e.g. via property references
[CL 30765232 by mikko mononen in ue5-main branch]
2024-01-22 05:38:03 -05:00
mikko mononen
d6c828e080
StateTree: Introduced TStateTreePropertyRef - type-safe FStateTreePropertyRef wrapper
...
#rb mikko.mononen tim.smith
[CL 30764929 by mikko mononen in ue5-main branch]
2024-01-22 05:01:31 -05:00
evgenii babinets
690bc2cbc4
Fixed unreachable code warnings/errors.
...
#rb simon.orr
[CL 30620936 by evgenii babinets in ue5-main branch]
2024-01-15 12:29:05 -05:00
mikko mononen
b80c371c77
StateTree: Added parameter overrides for StateTree states
...
#rb Yoan.StAmant
[CL 30589270 by mikko mononen in ue5-main branch]
2024-01-12 05:08:35 -05:00
steve robb
6f623bfddb
Fixed pass-by-value archive in SerializeDataViewToArchive.
...
#rb yoan.stamant
[CL 30568948 by steve robb in ue5-main branch]
2024-01-11 10:41:12 -05:00
mikko mononen
e669bb6cd9
StateTree: Added property references (get pointer to a property based on binding)
...
- Added FStateTreePropertyRef which allows to get pointer to bindable output properties in the StateTree
- This will eventually supercede FStateTreeStructRef
[CL 30563615 by mikko mononen in ue5-main branch]
2024-01-11 04:24:45 -05:00
mikko mononen
e174346757
StateTree: Fixed crash in FStateTreeReference when no parameters are present
...
[CL 30526901 by mikko mononen in ue5-main branch]
2024-01-10 04:37:25 -05:00
mikko mononen
a0742e30e1
StateTree: Added option for State Tree parameters to be overridden.
...
- Added property override logic into FPropertyBagInstanceDataDetails
- Added hooks to allow to customize the peoperty override logic by deriving from FPropertyBagInstanceDataDetails
- Added array of overridden property IDs in FStateTreeReference
#rb Mieszko.Zielinski
[CL 30502099 by mikko mononen in ue5-main branch]
2024-01-09 07:30:16 -05:00
yoan stamant
8033d0dd79
[StateTreeDebugger] added trace event for conditions forced to a given result, either from an internal failure to access source data or from the evaluation mode set.
...
#jira UE-200473
#rb mikko.mononen
[CL 30480397 by yoan stamant in ue5-main branch]
2024-01-08 09:52:36 -05:00
yoan stamant
58e697959b
[StateTreeDebugger] added trace event to make it more obvious that global task completion completes the tree
...
#jira UE-202523
#rb mikko.mononen
[CL 30480155 by yoan stamant in ue5-main branch]
2024-01-08 09:33:45 -05:00
mikko mononen
2e1d54f00c
StateTree: Update state details after adding a globa task/eval so that bindings will pick up the new task
...
#jira UE-188114
#rb Yoan.StAmant
[CL 30389231 by mikko mononen in ue5-main branch]
2023-12-19 02:40:28 -05:00
mikko mononen
1503c2d68c
StateTree: Clear struct references on FStateTreePropertyBindings::PerformResetObjects()
...
#jira UE-189896
#rb Yoan.StAmant
[CL 30388928 by mikko mononen in ue5-main branch]
2023-12-19 02:16:58 -05:00