Reproduction steps:
1. Open the attached “BugRepro” project
2. Make sure that Object Selector (Edit > Preference > Search > Search Engines > Object Selector) is set to “Advanced”
3. In the Project window, select “Assets/ObjectSelectorTest“ Asset
4. In the Inspector window, open the “Prefab With Some Component” Component’s Object Picker
5. In the opened Select SomeComponent… window, select any of the Prefabs
6. Repeat steps 4 and 5
Expected result: The “ObjectSelectorTest” is still open in the Inspector window
Actual result: The selected Prefab is opened in the Inspector window
Reproducible with: 2023.1.0a15, 2023.2.17f1, 6000.0.0b14
Not reproducible with: 2021.3.37f1, 2022.3.23f1, 2023.1.0a14
Reproducible on: Windows 11, macOS 13.2.1 (M2 Max) (By user)
Not reproducible on: No other environment
Notes:
- In step 6, you need to open the Object Picker quickly, before the “Reload Domain” has started
- Sometimes the Object Picker window doesn’t close after selecting a Prefab, so you don’t need repeat step 4 in step 6