Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Create a new Cube GameObject (GameObject > 3D Object > Cube)
- Open the Search window by clicking the Search icon in the Hierarchy window
- Type "Cube" in the search bar in the Search window
- Save the search to project by clicking the save icon in the Search window
- Select the saved search in the Project Browser
- Press the "Refresh" button in the Inspector window for results to show up (due to [Internal link])
- Click on the Cube search result in the Inspector window
- Click the burger icon in the Cube preview at the bottom of the Inspector window
- Select "Convert to Floating window"
- Drag the mouse to the Cube in the Floating window
- Observe the Console window
Actual results: "NullReferenceException: Object reference not set to an instance of an object" error is thrown
Expected results: No errors are thrown
Reproducible with versions: 6000.0.54f1, 6000.1.14f1, 6000.2.0b11, 6000.3.0a1
Not reproducible with versions: 6000.3.0a3
Fixed in version: 6000.3.0a2
Tested on (OS): Ubuntu 24.04, macOS Silicon Sequoia 15.5