Search Issue Tracker
Duplicate
Votes
0
Found in
2017.1.0f1
Issue ID
926150
Regression
Yes
Attaching a script to an object and then deleting it causes the script component to disappear
To reproduce:
1. Open attached Unity project "Betatests.zip"
2. Attach "deletethis" script to a GameObject
3. Delete "deletethis" script from the Assets folder
4. Go into Play mode
5. Observe the GameObject to which the "deletethis" script was applied
Expected result: The Script component should still be present in the Inspector window and show "missing script" (see attached gif "Expected.gif")
Actual result: The whole script component is gone but the console keeps on prompting "missing monobehaviour script" each time when entering the Play Mode (see attached gif "Actual.gif")
Regression first introduced in: 2017.1.0b6
Reproduced on: 2017.1.0b6, 2017.2.0b1
Not reproduced on: 5.6.2f1, 2017.1.0b5
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
This is a duplicate of issue #925372