Reproduction steps:
1. Open the attached project “CrashRepro“
2. Select “Capsule“ in the Hierarchy window
3. Drag “Capsule“ over the “New Behavior Script“ Component in the Inspector window
Expected result: The field is not accessible, and nothing happens
Actual result: Editor crashes
Reproducible with: 2022.2.0a9, 2022.2.0a11
Not reproducible with: 2020.3.44f1, 2021.3.18f1, 2022.2.0a8, 2023.1.0b2, 2023.2.0a1
Fixed in: 2022.2.0a12
Reproducible on: Windows 10 22H2
First few lines of stack trace: