Search Issue Tracker
Duplicate
Votes
0
Found in
2018.1.0b6
2018.1.0b9
Issue ID
1012772
Regression
Yes
Editor UI is broken and NullReferences after changing scripts class name multiple times
To reproduce:
1. Create a new project
2. Select any game object
3. In the inspector Add Component > any new script
4. Open the script and change class name to anything and save
5. Go back to Unity and observe as the name of the script changed to the name of the game object
6. Open the script
7. Change the class name back to the original
Expected result: the name of the script is changed and no errors in the console
Actual result: Editor UI gets corrupted and nonstop NullReference exceptions are thrown in the console
Reproduced on: 2018.1.0b9 2018.1.0b11
Not reproduced on: 2017.3.1p4 2018.1.0b1 2018.1.0b5
Notes:
Workaround: press any other game object and the errors stop and UI is fixed.
On 2018.2.0a5 no errors are thrown and the UI works fine, but the script is missing until any other game object is selected
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
- Editor UI Text is displayed incorrectly or blank, and "Unable to load font face for [System Normal]." and other warnings are spammed when Editor Font is set to System Font and TMP Package is imported
- TabView with icons is smaller in height then other tabs with text
- [iOS] Error shows and "Microphone.GetPosition" logged as zero when "Microphone.Start()" is called the first time while a microphone is busy in another app and the second time when the microphone is released
- "Check for Updates" Fails to Connect to Update Server
- "Validation: Write range..." errors when creating and destroying GraphicsBuffer rapidly in WebGPU
This is a duplicate of issue #1006447