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.
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
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-222010 in the post.
0 |
Component | UE - Gameplay - Gameplay Ability System |
---|---|
Affects Versions | 5.4.3 |
Target Fix | 5.6 |
Created | Aug 16, 2024 |
---|---|
Updated | Aug 23, 2024 |