Reproduction steps:
- Open the user’s attached project “CrashRepro“
- Open “Assets/Scenes/SampleScene.unity” scene
- From the Project Window create a script.cs file
Expected result: Script is created successfully
Actual result: Editor crashes while/after creating the script
Reproducible with: 2021.3.14f1, 2022.2.0b16, 2022.2.0f1
Not Reproducible with: 2020.3.42f1, 2022.1.23f1, 2023.1.0a20
Reproducible on: Windows 11
Note: The crash does not occur when the “;” character is removed from the user’s Project name or when any other special character(e.g #,@) is used.