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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
This is a duplicate of issue #925372