Description

The logic for data validation on UGameplayEffectComponent expects it to be owned by a UGameplayEffect. Any Blueprint derived from UGameplayEffectUIData (child of UGameplayEffectComponent) fails this validation. The logic in UGameplayEffectComponent::IsDataValid(...) should account for the fact that UGameplayEffectComponent can be a BP.

Steps to Reproduce

1. Create a blank project in the Editor;
2. Enable the GameplayAbilities plugin, restart the Editor;
3. Create a UGameplayEffectUIData blueprint and name it BP_GameplayEffectUIData (UGameplayEffectUIData ultimately derives from UGameplayEffectComponent);
4. Save the asset;
5. Validation fails with the message: /Game/BPs/BP_GameplayEffectUIData Validating asset
[AssetLog] ...\Content\BPs\BP_GameplayEffectUIData.uasset: Default__BP_GameplayEffectUIData_C has invalid Outer: /Game/BPs/BP_GameplayEffectUIData
/Game/BPs/BP_GameplayEffectUIData Errors logged while validating asset Default__BP_GameplayEffectUIData_C has invalid Outer: /Game/BPs/BP_GameplayEffectUIData

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-222010 in the post.

0
Login to Vote

Unresolved
ComponentUE - Gameplay - Gameplay Ability System
Affects Versions5.4.3
Target Fix5.6
CreatedAug 16, 2024
UpdatedAug 23, 2024
View Jira Issue