Search Issue Tracker
Fixed
Votes
0
Found in
2022.2.6f1
Issue ID
UUM-26299
Regression
Yes
Script Component is added twice when dragging it from the Project Window to the GameObject
Steps to reproduce:
1. Create a new Project
2. Create a new Script in the Project Window
3. Create Cube GameObject in the Hierarchy
4. Drag the created script on to the Cube GameObject
Expected result: The Script Component is added once
Actual result: The Script Component is added twice
Reproducible with: 2020.3.45f1, 2022.2.6f1, 2023.1.0b2, 2023.1.0b3, 2023.2.0a1
Not Reproducible with: 2022.2.5f1, 2023.1.0a1, 2023.1.0b1
Reproduced on macOS Ventura 13.1(M1 Max), Mac Intel, Windows 10, Windows 11
Workarounds: Remove one of the scripts added, Add scripts with "Add component" button, Drag and drop script onto the game object in the hierarchy instead of the inspector
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
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-26276