You can no longer set the StateTree asset to use in a Mass Entity Config data asset. The list shows as empty even when making a new StateTree specifically using Mass Behavior schema. Attempts to add the StateTree asset by dragging it from the Content Browser and use the Use Selected Asset button do not work.
It appears that the UPROPERTY meta specifier for RequireAssetDataTags is using a dot to separate the plugin folder and the class as such "Schema=/Script/MassAIBehavior/MassStateTreeSchema".
If you replace the forward slash with a period ("Schema=/Script/MassAIBehavior.MassStateTreeSchema"), the MassStateTreeTrait will accept StateTrees using Mass Behavior schema
Expected Result: You can select the StateTree asset you just created via the dropdown.
Actual Result: No options appear in the dropdown. You cannot drag the asset to set it, nor set it via the Use Selected Asset button.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-173022 in the post.
3 |
Component | UE - AI - StateTree |
---|---|
Affects Versions | 5.1 |
Target Fix | 5.2, 5.3 |
Fix Commit | 22950377 |
---|
Created | Dec 15, 2022 |
---|---|
Resolved | Jun 13, 2023 |
Updated | Jun 23, 2023 |