Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    592
    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