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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-26276