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
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Add comment