Description

A licensee has found that redirectors don't apply to FFieldPath. We should integrate it with the following changes:

  • It needs better error handling (looks like it could infinitely recurse),
  • The change should go in ResolveField(), maybe as an extra EPathResolveType.
Steps to Reproduce
  • Download sample project attached to [Link Removed]
  • Rename the GameplayAttribute named HealthOld to HealthNew. GameplayAttribute is a struct that contains an FFieldPath that is serialized.
  • Launch the project in editor, open the asset BP_TestActor and observe that the GetGameplayAttributeValue node's Attribute value is cleared due to failed redirect. Do not save it.
  • Enable the property redirect in DefaultEngine.ini by uncommenting it
  • Launch the project in editor, open the asset BP_TestActor and observe that the GetGameplayAttributeValue node's Attribute value is redirected to HealthNew. This would fail prior to this fix.

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Foundation - Core
Target Fix5.2
Fix Commit23098214
Main Commit23098214
CreatedFeb 16, 2022
ResolvedNov 22, 2022
UpdatedNov 29, 2022
View Jira Issue