Search Issue Tracker
By Design
Votes
0
Found in
5.3.0f4
Issue ID
756690
Regression
Yes
Cannot swap scripts in the Inspector window anymore
Steps to reproduce:
1. Download and open attached project.
2. Open scene named "main".
3. Select game object named "GameObject" and notice that it contains "Script" field which indicates that the currently attached script is named "test1".
4. Navigate to the "Project" window, select script named "test2", drag and drop it to that "Script" field.
Actual result:
The color of the field is grey. So, the scripts cannot be swapped. This method is not very efficient, since now the user has to remove the old script and add a new one separately.
Expected result:
It should be possible to swap the scripts. This functionality works well with older versions of Unity and some users found it very useful.
Reproduced with:
5.3.1f1, 5.3.4f1, 5.3.5f1, 5.3.5p1, 5.4.0b18.
Cannot reproduce with:
5.1.0f3, 5.2.4f1.
Note:
GIF attached.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment