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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a8