Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2022.2.0a3
2022.2.0a5
Issue ID
1403058
Regression
Yes
Creating a Script as a new Component to the GameObject crashes the Editor
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
Note:
-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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a8