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
- [Android][iOS] The keyboard closes and re-opens when consecutive input fields are selected
- Complex Sub Graph connected to a Voronoi node is ignored when the shader gets applied as a Material
- Compute Shader property not set error when entering play mode with path tracing and PBR sky
- "WebGL Publish" detects WebGL module and allows building when it is installed without restarting the project
- Editor is non-responsive and flickers when multiple Water System instances are enabled
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-26276