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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a8