Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Bug 2021.3.19f1 When adding / dragging a script on to a GO - it will be duplicated

Discussion in 'Editor & General Support' started by xxsemb, Mar 2, 2023.

  1. xxsemb

    xxsemb

    Joined:
    Feb 4, 2021
    Posts:
    49
    Tested in the latest LTS and the previous (where it does not happen), happens any time even if I make a brand new project in the latest.

    1. Create a new project, (in my case URP 3D)
    2. Add a gameobject
    3. Drag a script on to that game object
    4. I now have 2 instances of the same script on that game object

      upload_2023-3-2_13-34-19.png
     
  2. Crzy-Potato

    Crzy-Potato

    Joined:
    Sep 15, 2020
    Posts:
    2
    Yeah same here. Even does it in URP 2d projects too. Not sure if it happens in built-in though.
     
  3. tsibiski

    tsibiski

    Joined:
    Jul 11, 2016
    Posts:
    570
    This is a known issue that will be fixed asap in a future release.
     
  4. mle_ii

    mle_ii

    Joined:
    Jun 2, 2021
    Posts:
    1
    Just found this post when searching for this bug. Thank you for reporting it and glad to know it's not just me. LOL