Search Issue Tracker

Fixed in 2022.2.X



Found in



Issue ID




Creating a Script as a new Component to the GameObject crashes the Editor

Inspector Framework


How to reproduce:
1. Create a new project
2. Create a new GameObject
3. In it's Inspector click -> Add Component and type Script and select New Script
4. Create a new Script for the GameObject

Expected results: The Script is created
Actual results: The Editor crashes

Reproducible with: 2022.2.0a5, 2022.2.0a4, 2022.2.0a3
Not reproducible with: 2022.1

-The Script is created and can be seen after opening the project after crash
-Creating a script form the Project window doesn't reproduce the issue
-Editor crashes only when creating a script for the first time, later openings of the script or modifications don't cause a crash
-Initially reproduced on MacOS BigSur 11.6, reproduces on Windows10 as well

  1. Resolution Note (fix version 2022.2):

    Fixed in ​​​​​​​2022.2.0a8

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.