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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Add comment