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
- [Android] Error "Blitter is already initialized" is present when Adaptive Probe Volumes are used with OpenGLES3
- VFX Graph effect instance stops rendering when a second instance of the same effect starts 2 frames later
- Operations on the Color32 array are not reflected in WebGL Player when HDR is off
- Rigidbody moves away from the original GameObject when Center of Mass is set in every frame
- WebGL Player does not proceed beyond logo screen when "Target WebAssembly 2023" is enabled
This is a duplicate of issue #UUM-26276