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] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-26276