Description

Search results in component pickers do not show up unless they match both the name of the actor and the component, this is because FActorHierarchy::CreateWorldChildren ends up calling Mode->CreateItemFor() for both the actor and it's components (which checks the filter and search) and only adds the actor and components if they both pass.

You can see a similar and somewhat related issue in the Outliner, where it is not possible to search by the name of a component if you uncheck "Hide Actor Components". The root cause is different, but the fix would be similar to add the actor and components if either of them match the search filters.

Steps to Reproduce
  1. Add a component with the UseComponentPicker metadata to an actor from the details panel (tested with "Lens" component)
  2. Click on the new component and Open the component picker from the details panel (Lens File -> Advanced -> Target Camera Component)
  3. Ensure you see some results in the component picker
  4. Try to search for the name of the actor or component in the component picker
  5. Notice that the search does not show results, unless you search for some text that is present in the name of both the component and the actor

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Editor - Workflow Systems
Affects Versions5.3
Target Fix31.00
Fix Commit34065540
CreatedOct 26, 2023
ResolvedJun 3, 2024
UpdatedOct 10, 2024
View Jira Issue