Steps to reproduce:
- Open the attached project
- Open the SampleScene
- In the Hierarchy's Search field, enter "Cube"
- Observe that only Cube GO is displayed as expected
- Right-click on the Cube and select the Prefab -> Open Asset in Context Mode option
- Return from the context mode to the regular Scene view
- Observe the Hierarchy window
Actual results: Cube search query remains, and the Cube GO is highlighted in the Scene view, but game objects in the Hierarchy window are not filtered
Expected results: Either the Search query is cleared when entering the Context mode (Current Hierarchy V1 behaviour), or the game objects are filtered based on the present search query after exiting the context mode
Reproducible with versions: 6000.3.0a2, 6000.3.20f1, 6000.5.4f1, 6000.6.0b4, 6000.7.0a3
Can’t test with versions: 6000.0.79f1, 6000.3.0a1 (Hierarchy V2 is not available)
Tested on (OS): macOS 26.5.2