Search Issue Tracker
Duplicate
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
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
- Warnings in the Bug Reporter window are cut off and not truncated when the Bug Reporter window is resized to its minimum size
- Color is incorrectly applied to objects when initialized with non-normalized parameters
- SerializationUtility.GetManagedReferencesWithMissingTypes() don't return null when “Prefab has missing SerializeReference Types“ warning banner is present
- Memory leak when VFX Graph is open and Camera has "Target Texture" enabled
- The Canvas component's warning box is missing an apostrophe when Additional Shader Channels is set to "Normal" and "Tangent" with Render Mode set to "Screen Space - Overlay"
This is a duplicate of issue #UUM-26276