How to reproduce:
1. Open the attached “IN-92494.zip” project
2. Open the “SampleScene”
3. In the Hierarchy window, select the “GameObject”
4. Open the Animation window (CTRL + 6 shortcut)
5. Click on the Animation Clip dropdown in the top left of the window
6. Observe the crash
Reproducible in: 2022.3.57f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a2
Reproducible on: Windows 11
Not reproducible on: No other environments tested
First few lines of stacktrace:
Note: In 2022.3, it’s also necessary to add an Animator component to the “GameObject” for the dropdown to show up in the Animation Window