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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a8