Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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 xxsmbr, Mar 2, 2023.

  1. xxsmbr

    xxsmbr

    Joined:
    Feb 4, 2021
    Posts:
    51
    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:
    614
    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