Unity Issue Tracker - Filter “dir” does not exist when searching through the Inspector and gives no results
Closed
UUM-64721
Filter “dir” does not exist when searching through the Inspector and gives no results
Unity: Search
Won't Fix
2023.3.X
2023.2.X
2022.3.X
2021.3.X
As Designed
6.0.X
The Legacy Search does not support "dir" as a filter.
Reproduction steps:
1. Open the attached “Vector-Guild.zip” project
2. Open the “MainMenu” scene
3. Open the Global Search (Ctrl+K)
4. Insert “dir:"Items" t:sprite” into the Search
5. Observe the results and close the Search Window
6. Select “GameObject” GameObject in the Hierarchy
7. In the Inspector find the Sprite Renderer Component and “Sprite” Property
8. Click on the circle for Sprite Selection
9. Repeat 4th and 5th steps
Expected result: Search gives the same results on both occasions, showing 8 sprites
Actual result: Search has different filters when searching through the Inspector