Reproduction steps:
1. Open the attached project ("bug_report.zip")
2. Close the Editor once it opens
3. If the crash doesn't occur, extract the project again and repeat the reproduction steps
Expected result: The Unity Editor doesn't crash
Actual result: The Unity Editor crashes
Reproducible with: 2021.2.0a18, 2021.2.0b3, 2022.1.0a3
Not reproducible with: 2018.4.36f1, 2019.4.29f1, 2020.3.14f1, 2021.1.15f1, 2021.2.0a17
Note:
-The crash reproduces when exiting Unity Editor during the "Building Assets Search Index" background process