Search Issue Tracker
Duplicate
Duplicate in 2021.3.X
Votes
1
Found in
2020.3.45f1
2021.3.19f1
Issue ID
UUM-28035
Regression
No
Script Component is duplicated when dragging and dropping onto a GameObject via the Inspector window
How to reproduce:
1. Create a new project
2. Create a new Script
3. Select any GameObject in the Hierarchy
4. Drag and drop the Script into the Inspector window
5. Observe the selected GameObject's Components
Expected result: Only one Script Component is added
Actual result: Script Component is added twice
Reproducible with: 2020.3.45f1, 2021.3.19f1
Not reproducible with: 2022.2.9f1, 2023.1.0b6, 2023.2.0a4
Fixed in: 2021.3.20f1
Reproducible on: macOS Ventura 13.1 (Intel), Windows 11
Note: The issue is not reproducible if, the Script is dragged and dropped onto the GameObject in the Hierarchy window
-
Resolution Note:
This bug is a duplicate and has already been fixed and backported all the way back to 2020.3.
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-26276 -
Resolution Note (2021.3.X):
This bug is a duplicate and has already been fixed and backported all the way back to 2020.3.
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-26276
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #UUM-26276