PCGDataFromActor dynamic actor selection tag tracking

When using `Get PCG Component Data` node with a dynamic `Actor Selection Tag` override, found actors are not tracked.

I think I found the source of this issue in `PCGDataFromActor.cpp`. The code starting at line `486` should probably be outside of the enclosing `if (!Context->bPerformedQuery)` statement at line `458`, so it’s called for the optimized case from line `416`.

[Attachment Removed]

Steps to Reproduce

  1. Add `Get PCG Component Data` node to a PCG graph
  2. Connect an attribute to `Actor Selection Tag` override pin
  3. Observe that changes to actors are not tracked properly
    [Attachment Removed]

Hi Marcin! Thanks for the report!

I can reproduce on my end, I’ll create a Jira for that :slight_smile:

Adrien

[Attachment Removed]

Will be fixed in 5.8.

Thanks again!

Adrien

[Attachment Removed]