Reproduction steps:
1. Open the attached project “CrashRepro“
2. Open any script
3. Open Level builder window if it is not open (Window > Search > New Window)
4. Click on “Assets/ISI Lab/LBS/Presets/Layers/Exterior Layer.asset“
5. Click “Set as Exterior“ button in the hierarchy window
6. Click “Add“ button in the Level Builder window
7. Add a line to the opened scripts and save it
8. Focus the Editor to recompile the scipts
Expected result: Scripts recompile
Actual result: Editor crashes
Reproducible with: 2022.3.7f1
Couldn’t test with: 2021.3.28f1, “error CS0246: The type or namespace name 'IntegerField' could not be found (are you missing a using directive or an assembly reference?)“, 2023.1.9f1, 2023.2.0b5 - Project window is broken (“Cannot initialize non-default texture with negative or zero width.“)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
First few lines of stack trace: