Reproduction steps:
1. Open the attached project “CrashRepro“
2. Enter the Play mode
3. Press “Space” on the keyboard twice
Expected result: NullReferenceException is thrown
Actual result: Editor crashes
Reproducible with: 2022.2.0b16, 2022.3.9f1, 2023.1.12f1, 2023.2.0b8, 2023.3.0a3
Not reproducible with: 2021.3.30f1, 2022.2.0b15
Reproducible on: Windows 10
Not reproducible on: No other environment tested
First few lines of stack trace: