Reproduction steps:
1. Open the attached project "CrashRepro"
2. Build and run
Expected result: The project is built
Actual result: Editor crashes
Reproducible with: 6000.0.17f1
Couldn’t test with: 2021.3.42f1, 2022.3.44f1 (package errors)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
First few lines of stack trace: